Class 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.
    Version:
    1.7
    • Field Detail

      • intersects

        private boolean intersects
    • Constructor Detail

      • EnvelopeIntersectsVisitor

        public EnvelopeIntersectsVisitor​(Envelope rectEnv)
    • Method Detail

      • 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