|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.divbyzero.gpx.Coordinate
public class Coordinate
Coordinate for way points
A coordinate consists of two fields for longitude and latitude.
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 |
---|
public Coordinate()
Method Detail |
---|
public double getLongitude()
public void setLongitude(double longitude)
longitude
- the longitude of the coordinatepublic double getLatitude()
public void setLatitude(double latitude)
latitude
- the latitude of the coordinate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |