com.isti.util.gis
Class IstiRegion.LatLonPoint

java.lang.Object
  extended by com.isti.util.gis.IstiRegion.LatLonPoint
Enclosing class:
IstiRegion

public static class IstiRegion.LatLonPoint
extends java.lang.Object

Latitude/longitude point.


Constructor Summary
IstiRegion.LatLonPoint(double lat, double lon)
          Creats a latitude/longitude point.
IstiRegion.LatLonPoint(java.lang.String s)
          Creats a latitude/longitude point.
 
Method Summary
 double getLat()
          Gets the latitude point.
 double getLon()
          Gets the longitude point.
 java.lang.String toString()
          Get the string representation of the latitude/longitude point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IstiRegion.LatLonPoint

public IstiRegion.LatLonPoint(double lat,
                              double lon)
Creats a latitude/longitude point.

Parameters:
lat - the latitude point.
lon - the longitude point.

IstiRegion.LatLonPoint

public IstiRegion.LatLonPoint(java.lang.String s)
Creats a latitude/longitude point.

Parameters:
s - the string representation of the latitude/longitude point.
Method Detail

getLat

public double getLat()
Gets the latitude point.

Returns:
the latitude point.

getLon

public double getLon()
Gets the longitude point.

Returns:
the longitude point.

toString

public java.lang.String toString()
Get the string representation of the latitude/longitude point.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the latitude/longitude point.