org.hermit.geo
Class PointOfInterest.LAT

java.lang.Object
  extended by org.hermit.geo.PointOfInterest
      extended by org.hermit.geo.PointOfInterest.LAT
Enclosing class:
PointOfInterest

public static final class PointOfInterest.LAT
extends PointOfInterest

Class LAT represents an interesting line of latitude.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hermit.geo.PointOfInterest
PointOfInterest.BAND, PointOfInterest.LAT, PointOfInterest.LON, PointOfInterest.POS
 
Field Summary
 
Fields inherited from class org.hermit.geo.PointOfInterest
GLOBAL_AREAS, GLOBAL_POIS
 
Method Summary
 Distance distance(Position pos)
          Get the distance of a given point from this point of interest.
 java.lang.String status(Position pos)
          Describe the status of the given position relative to this point of interest.
 
Methods inherited from class org.hermit.geo.PointOfInterest
describePoint, describePosition, describeRegion, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

distance

public final Distance distance(Position pos)
Get the distance of a given point from this point of interest.

Specified by:
distance in class PointOfInterest
Parameters:
pos - Point to measure from.
Returns:
The distance.
See Also:
PointOfInterest.distance(org.hermit.geo.Position)

status

public final java.lang.String status(Position pos)
Describe the status of the given position relative to this point of interest.

Overrides:
status in class PointOfInterest
Parameters:
pos - The position to describe.
Returns:
A string describing where pos is in relation to this POI.