|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.algorithm.locate.IndexedPointInAreaLocator
public class IndexedPointInAreaLocator
Determines the 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.
Constructor Summary | |
---|---|
IndexedPointInAreaLocator(Geometry g)
Creates a new locator for a given Geometry |
Method Summary | |
---|---|
int |
locate(Coordinate p)
Determines the Location of a point in an areal Geometry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexedPointInAreaLocator(Geometry g)
Geometry
g
- the Geometry to locate inMethod Detail |
---|
public int locate(Coordinate p)
Location
of a point in an areal Geometry
.
locate
in interface PointOnGeometryLocator
p
- the point to test
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |