com.vividsolutions.jts.algorithm.locate
public class IndexedPointInAreaLocator extends java.lang.Object implements PointOnGeometryLocator
Location of Coordinates relative to
a Polygonal geometry, using indexing for efficiency.
This algorithm is suitable for use in cases where
many points will be tested against a given area.| Constructor and Description |
|---|
IndexedPointInAreaLocator(Geometry g)
Creates a new locator for a given
Geometry |
| Modifier and Type | Method and Description |
|---|---|
int |
locate(Coordinate p)
|
public int locate(Coordinate p)
locate in interface PointOnGeometryLocatorp - the point to test