org.hermit.geo
Class PointOfInterest.POS

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

public static final class PointOfInterest.POS
extends PointOfInterest

Class POS represents an interesting position.


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.
 
Methods inherited from class org.hermit.geo.PointOfInterest
describePoint, describePosition, describeRegion, getName, status
 
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)