@ Pure public double distance ( Point2D < ? , ? > point ) { assert point != null ; final GeoLocationPoint p = getGeoPosition ( ) ; if ( p != null ) { return Point2D . getDistancePointPoint ( p . getX ( ) , p . getY ( ) , point . getX ( ) , point . getY ( ) ) ; } return Double . NaN ; }
Replies the distance between the given point and this bus halt .