public class Coordinate
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
Coordinate()
Default constructor
|
Coordinate(double pLatitude,
double pLongitude)
Create a coordinate with the given latitude and longitude
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLatitude()
Gets the latitude for this coordinate
|
double |
getLongitude()
Get the longitude for this coordinate
|
void |
setLatitude(double pLatitude)
Set the latitude for this coordinate
|
void |
setLongitude(double pLongitude)
Set the longitude for this coordinate
|
public static final java.lang.String CLASS_VERSION
public Coordinate()
public Coordinate(double pLatitude,
double pLongitude)
pLatitude - the latitude to setpLongitude - the longitude to setpublic double getLatitude()
public void setLatitude(double pLatitude)
pLatitude - the latitude to setpublic double getLongitude()
public void setLongitude(double pLongitude)
pLongitude - the longitude to set