Class EnvelopeIntersectsVisitor
java.lang.Object
org.locationtech.jts.geom.util.ShortCircuitedGeometryVisitor
org.locationtech.jts.operation.predicate.EnvelopeIntersectsVisitor
Tests whether it can be concluded that a rectangle intersects a geometry,
based on the relationship of the envelope(s) of the geometry.
- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Reports whether it can be concluded that an intersection occurs, or whether further testing is required.protected boolean
isDone()
protected void
Methods inherited from class org.locationtech.jts.geom.util.ShortCircuitedGeometryVisitor
applyTo
-
Field Details
-
rectEnv
-
intersects
private boolean intersects
-
-
Constructor Details
-
EnvelopeIntersectsVisitor
-
-
Method Details
-
intersects
public boolean intersects()Reports whether it can be concluded that an intersection occurs, or whether further testing is required.- Returns:
- true if an intersection must occur or false if no conclusion about intersection can be made
-
visit
- Specified by:
visit
in classShortCircuitedGeometryVisitor
-
isDone
protected boolean isDone()- Specified by:
isDone
in classShortCircuitedGeometryVisitor
-