public class IndexedPointInAreaLocator extends 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.
Thread-safe and immutable.| Constructor and Description |
|---|
IndexedPointInAreaLocator(Geometry g)
Creates a new locator for a given
Geometry |
public int locate(Coordinate p)
locate in interface PointOnGeometryLocatorp - the point to testCopyright © 2015. All rights reserved.