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 |
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 polygongpList
- The array of GeoPoints forming the polygonradiusKM
- The radius of the sphere that the points lie on
- Returns:
- True if the specified point is inside the polygon