twaver.gis.utils
Class GeoCoordinate
java.lang.Object
java.awt.geom.Point2D
java.awt.geom.Point2D.Double
twaver.gis.utils.GeoCoordinate
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class GeoCoordinate
- extends java.awt.geom.Point2D.Double
- implements java.io.Serializable
A GeoCoordinate instance representing a location in geographical coordinate space,
specified in double precision.
- See Also:
- Serialized Form
Nested classes inherited from class java.awt.geom.Point2D |
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Fields inherited from class java.awt.geom.Point2D.Double |
x, y |
Methods inherited from class java.awt.geom.Point2D.Double |
getX, getY, setLocation |
Methods inherited from class java.awt.geom.Point2D |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GeoCoordinate
public GeoCoordinate()
GeoCoordinate
public GeoCoordinate(double longitude,
double latitude)
getLatitude
public double getLatitude()
- Gets the latitude
- Returns:
- the latitude
getLongitude
public double getLongitude()
- Gets the longitude.
- Returns:
- the longitude.
equals
public boolean equals(java.lang.Object target)
toString
public java.lang.String toString()