public class GeoPoint
extends java.lang.Object
Constructor and Description |
---|
GeoPoint(double latitude,
double longitude)
Constructs a
GeoPoint from a given latitude and longitude. |
Modifier and Type | Method and Description |
---|---|
double |
getLatitude() |
double |
getLongitude() |
java.lang.String |
toString() |
public GeoPoint(double latitude, double longitude)
GeoPoint
from a given latitude and longitude.latitude
- the angle between the equatorial plane and a line
that passes through the GeoPointlongitude
- is the angle east or west from a reference meridian
to another meridian that passes through the GeoPointpublic double getLatitude()
public double getLongitude()
public java.lang.String toString()
toString
in class java.lang.Object