org.opengts.util
Interface GeozoneChecker


public interface GeozoneChecker

Inteface for functions finding if a point is inside of a polygon on a spherical surface


Method Summary
 boolean containsPoint(GeoPoint gpTest, GeoPoint[] gpList, double radiusKM)
          Checks if a specified point is inside the specified polygon on the surface of a sphere
 

Method Detail

containsPoint

boolean containsPoint(GeoPoint gpTest,
                      GeoPoint[] gpList,
                      double radiusKM)
Checks if a specified point is inside the specified polygon on the surface of a sphere

Parameters:
gpTest - The point to check if is inside the polygon
gpList - The array of GeoPoints forming the polygon
radiusKM - The radius of the sphere that the points lie on
Returns:
True if the specified point is inside the polygon