|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.algorithm.SimplePointInAreaLocator
Computes whether a point
lies in the interior of an area Geometry
.
The algorithm used is only guaranteed to return correct results
for points which are not on the boundary of the Geometry.
Constructor Summary | |
SimplePointInAreaLocator()
|
Method Summary | |
static boolean |
containsPointInPolygon(Coordinate p,
Polygon poly)
|
static int |
locate(Coordinate p,
Geometry geom)
locate is the main location function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimplePointInAreaLocator()
Method Detail |
public static int locate(Coordinate p, Geometry geom)
public static boolean containsPointInPolygon(Coordinate p, Polygon poly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |