public class IndexedPointInAreaLocator extends Object implements PointOnGeometryLocator
Location
of Coordinate
s 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 PointOnGeometryLocator
p
- the point to testCopyright © 2016. All rights reserved.