public class EnvelopeIntersector
extends java.lang.Object
| Constructor and Description | 
|---|
EnvelopeIntersector()  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
intersects(com.vividsolutions.jts.geom.Geometry geometry,
          com.vividsolutions.jts.geom.Envelope envelope)
Returns whether the Geometry and the Envelope intersect, even if the
 Geometry is invalid. 
 | 
public static boolean intersects(com.vividsolutions.jts.geom.Geometry geometry,
                 com.vividsolutions.jts.geom.Envelope envelope)
 This code will only work correctly on valid geometries.
 (For instance, it may return false if the Envelope is
 wholly contained in an invalid polygon.
envelope - the Envelope to testgeometry - the Geometry to test, whether valid or not