Class EnvelopeIntersectsVisitor

Hierarchy: Object , ShortCircuitedGeometryVisitor, EnvelopeIntersectsVisitor
class EnvelopeIntersectsVisitor
extends ShortCircuitedGeometryVisitor
Tests whether it can be concluded that a rectangle intersects a geometry, based on the relationship of the envelope(s) of the geometry.
Authors:
Martin Davis

Other

  • version: 1.7
public EnvelopeIntersectsVisitor(Envelope rectEnv)
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
protected void visit(Geometry element)
protected boolean isDone()