|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.prep.PreparedLineStringIntersects
public class PreparedLineStringIntersects
Computes the intersects spatial relationship predicate
for a target PreparedLineString
relative to other Geometry
classes.
Uses short-circuit tests and indexing to improve performance.
Field Summary | |
---|---|
protected PreparedLineString |
prepLine
|
Constructor Summary | |
---|---|
PreparedLineStringIntersects(PreparedLineString prepLine)
Creates an instance of this operation. |
Method Summary | |
---|---|
boolean |
intersects(Geometry geom)
Tests whether this geometry intersects a given geometry. |
static boolean |
intersects(PreparedLineString prep,
Geometry geom)
Computes the intersects predicate between a PreparedLineString
and a Geometry . |
protected boolean |
isAnyTestPointInTarget(Geometry testGeom)
Tests whether any representative point of the test Geometry intersects the target geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PreparedLineString prepLine
Constructor Detail |
---|
public PreparedLineStringIntersects(PreparedLineString prepLine)
prepPoly
- the target PreparedLineStringMethod Detail |
---|
public static boolean intersects(PreparedLineString prep, Geometry geom)
PreparedLineString
and a Geometry
.
prep
- the prepared linestringgeom
- a test geometry
public boolean intersects(Geometry geom)
geom
- the test geometry
protected boolean isAnyTestPointInTarget(Geometry testGeom)
geom
- a Puntal geometry to test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |