Computes the intersects
spatial relationship predicate for PreparedPolygons relative to all other Geometry classes.
More...
#include <PreparedPolygonIntersects.h>
Public Member Functions | |
PreparedPolygonIntersects (const PreparedPolygon *const prep) | |
bool | intersects (const geom::Geometry *geom) |
Static Public Member Functions | |
static bool | intersects (const PreparedPolygon *const prep, const geom::Geometry *geom) |
Computes the intersects
spatial relationship predicate for PreparedPolygons relative to all other Geometry classes.
Uses short-circuit tests and indexing to improve performance.
geos::geom::prep::PreparedPolygonIntersects::PreparedPolygonIntersects | ( | const PreparedPolygon *const | prep | ) | [inline] |
Creates an instance of this operation.
prepPoly | the PreparedPolygon to evaluate |
static bool geos::geom::prep::PreparedPolygonIntersects::intersects | ( | const PreparedPolygon *const | prep, | |
const geom::Geometry * | geom | |||
) | [inline, static] |
Computes the intersects predicate between a PreparedPolygon and a Geometry.
prep | the prepared polygon | |
geom | a test geometry |
References intersects().
Referenced by intersects().
bool geos::geom::prep::PreparedPolygonIntersects::intersects | ( | const geom::Geometry * | geom | ) |
Tests whether this PreparedPolygon intersects a given geometry.
geom | the test geometry |