net.divbyzero.gpx
Class Coordinate

java.lang.Object
  extended by net.divbyzero.gpx.Coordinate

public class Coordinate
extends Object

Coordinate for way points

A coordinate consists of two fields for longitude and latitude.

Since:
0.1
Author:
Martin Jansen

Constructor Summary
Coordinate()
           
 
Method Summary
 double getLatitude()
          Returns the value for the latitude of the coordinate
 double getLongitude()
          Returns the value for the longitude of the coordinate
 void setLatitude(double latitude)
          Sets the latitude of the coordinate
 void setLongitude(double longitude)
          Sets the longitude of the coordinate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coordinate

public Coordinate()
Method Detail

getLongitude

public double getLongitude()
Returns the value for the longitude of the coordinate

Returns:
the longitude of the coordinate

setLongitude

public void setLongitude(double longitude)
Sets the longitude of the coordinate

Parameters:
longitude - the longitude of the coordinate

getLatitude

public double getLatitude()
Returns the value for the latitude of the coordinate

Returns:
the latitude of the coordinate

setLatitude

public void setLatitude(double latitude)
Sets the latitude of the coordinate

Parameters:
latitude - the latitude of the coordinate


Processing library MapThing by Jon Reades. (C) 2013