GEOS
3.9.1dev
|
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) | |
Creates an instance of this operation. More... | |
bool | intersects (const geom::Geometry *geom) |
Tests whether this PreparedPolygon intersects a given geometry. More... | |
![]() | |
PreparedPolygonPredicate (const PreparedPolygon *const p_prepPoly) | |
Creates an instance of this operation. More... | |
virtual | ~PreparedPolygonPredicate () |
Static Public Member Functions | |
static bool | intersects (const PreparedPolygon *const prep, const geom::Geometry *geom) |
Computes the intersects predicate between a PreparedPolygon and a Geometry. More... | |
Additional Inherited Members | |
![]() | |
geom::Location | getOutermostTestComponentLocation (const geom::Geometry *testGeom) const |
Returns the outermost Location among a test point from each components of the test geometry. More... | |
bool | isAllTestComponentsInTargetInterior (const geom::Geometry *testGeom) const |
Tests whether all components of the test Geometry are contained in the interior of the target geometry. More... | |
bool | isAnyTestComponentInTarget (const geom::Geometry *testGeom) const |
Tests whether any component of the test Geometry intersects the area of the target geometry. More... | |
bool | isAnyTestComponentInTargetInterior (const geom::Geometry *testGeom) const |
Tests whether any component of the test Geometry intersects the interior of the target geometry. More... | |
bool | isAnyTargetComponentInAreaTest (const geom::Geometry *testGeom, const geom::Coordinate::ConstVect *targetRepPts) const |
![]() | |
const PreparedPolygon *const | prepPoly |
Computes the intersects
spatial relationship predicate for PreparedPolygons relative to all other Geometry classes.
Uses short-circuit tests and indexing to improve performance.
Definition at line 50 of file PreparedPolygonIntersects.h.
|
inline |
Creates an instance of this operation.
prep | the PreparedPolygon to evaluate |
Definition at line 74 of file PreparedPolygonIntersects.h.
|
inlinestatic |
Computes the intersects predicate between a PreparedPolygon and a Geometry.
prep | the prepared polygon |
geom | a test geometry |
Definition at line 63 of file PreparedPolygonIntersects.h.
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 |