com.vividsolutions.jts.operation.predicate
public class RectangleIntersects extends java.lang.Object
Geometry
is a rectangle.
As a further optimization, this class can be used directly to test many geometries against a single rectangle.
Modifier and Type | Field and Description |
---|---|
static int |
MAXIMUM_SCAN_SEGMENT_COUNT
Crossover size at which brute-force intersection scanning
is slower than indexed intersection detection.
|
Constructor and Description |
---|
RectangleIntersects(Polygon rectangle)
Create a new intersects computer for a rectangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
intersects(Geometry geom) |
static boolean |
intersects(Polygon rectangle,
Geometry b) |
public static final int MAXIMUM_SCAN_SEGMENT_COUNT
public RectangleIntersects(Polygon rectangle)
rectangle
- a rectangular geometry