GEOS
3.9.1dev
|
Computes the covers
spatial relationship predicate for a PreparedPolygon relative to all other Geometry classes.
More...
#include <PreparedPolygonCovers.h>
Public Member Functions | |
PreparedPolygonCovers (const PreparedPolygon *const prep) | |
Creates an instance of this operation. More... | |
bool | covers (const Geometry *geom) |
Tests whether this PreparedPolygon covers a given geometry. More... | |
![]() | |
AbstractPreparedPolygonContains (const PreparedPolygon *const p_prepPoly) | |
AbstractPreparedPolygonContains (const PreparedPolygon *const p_prepPoly, bool p_requireSomePointInInterior) | |
~AbstractPreparedPolygonContains () override | |
![]() | |
PreparedPolygonPredicate (const PreparedPolygon *const p_prepPoly) | |
Creates an instance of this operation. More... | |
virtual | ~PreparedPolygonPredicate () |
Static Public Member Functions | |
static bool | covers (const PreparedPolygon *const prep, const geom::Geometry *geom) |
Computes the covers predicate between a PreparedPolygon and a Geometry. More... | |
Protected Member Functions | |
bool | fullTopologicalPredicate (const geom::Geometry *geom) override |
![]() | |
bool | eval (const geom::Geometry *geom) |
bool | evalPointTestGeom (const geom::Geometry *geom, geom::Location outermostLoc) |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
bool | requireSomePointInInterior |
![]() | |
const PreparedPolygon *const | prepPoly |
Computes the covers
spatial relationship predicate for a PreparedPolygon relative to all other Geometry classes.
Uses short-circuit tests and indexing to improve performance.
It is not possible to short-circuit in all cases, in particular in the case where the test geometry touches the polygon linework. In this case full topology must be computed.
Definition at line 55 of file PreparedPolygonCovers.h.
|
inline |
Creates an instance of this operation.
prep | the PreparedPolygon to evaluate |
Definition at line 88 of file PreparedPolygonCovers.h.
|
inlinestatic |
Computes the covers
predicate between a PreparedPolygon and a Geometry.
prep | the prepared polygon |
geom | a test geometry |
Definition at line 77 of file PreparedPolygonCovers.h.
References covers().
Referenced by covers().
|
inline |
Tests whether this PreparedPolygon covers
a given geometry.
geom | the test geometry |
Definition at line 99 of file PreparedPolygonCovers.h.
|
overrideprotectedvirtual |
Computes the full topological covers
predicate. Used when short-circuit tests are not conclusive.
geom | the test geometry |
Implements geos::geom::prep::AbstractPreparedPolygonContains.