#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) |
Static Public Attributes | |
const size_t | MAXIMUM_SCAN_SEGMENT_COUNT |
Crossover size at which brute-force intersection scanning is slower than indexed intersection detection. |
As a further optimization, this class can be used directly to test many geometries against a single rectangle.
|
Create a new intersects computer for a rectangle.
|
|
Crossover size at which brute-force intersection scanning is slower than indexed intersection detection. Must be determined empirically. Should err on the safe side by making value smaller rather than larger. |