#include <RectangleIntersects.h>
Public Member Functions | |
RectangleIntersects (const geom::Polygon &newRect) | |
Create a new intersects computer for a rectangle. | |
bool | intersects (const geom::Geometry &geom) |
Static Public Member Functions | |
bool | intersects (const geom::Polygon &rectangle, const geom::Geometry &b) |
Tests whether a rectangle intersects a given geometry. |
This class works for all input geometries, including GeometryCollections.
As a further optimization, this class can be used to test many geometries against a single rectangle in a slightly more efficient way.
|
Create a new intersects computer for a rectangle.
|
|
Tests whether a rectangle intersects a given geometry.
|