|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.prep.PreparedPolygonPredicate
com.vividsolutions.jts.geom.prep.PreparedPolygonIntersects
public class PreparedPolygonIntersects
Computes the intersects spatial relationship predicate
for PreparedPolygon
s relative to all other Geometry
classes.
Uses short-circuit tests and indexing to improve performance.
Field Summary |
---|
Fields inherited from class com.vividsolutions.jts.geom.prep.PreparedPolygonPredicate |
---|
prepPoly |
Constructor Summary | |
---|---|
PreparedPolygonIntersects(PreparedPolygon prepPoly)
Creates an instance of this operation. |
Method Summary | |
---|---|
boolean |
intersects(Geometry geom)
Tests whether this PreparedPolygon intersects a given geometry. |
static boolean |
intersects(PreparedPolygon prep,
Geometry geom)
Computes the intersects predicate between a PreparedPolygon
and a Geometry . |
Methods inherited from class com.vividsolutions.jts.geom.prep.PreparedPolygonPredicate |
---|
isAllTestComponentsInTarget, isAllTestComponentsInTargetInterior, isAnyTargetComponentInAreaTest, isAnyTestComponentInTarget, isAnyTestComponentInTargetInterior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreparedPolygonIntersects(PreparedPolygon prepPoly)
prepPoly
- the PreparedPolygon to evaluateMethod Detail |
---|
public static boolean intersects(PreparedPolygon prep, Geometry geom)
PreparedPolygon
and a Geometry
.
prep
- the prepared polygongeom
- a test geometry
public boolean intersects(Geometry geom)
geom
- the test geometry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |