A base class for predicate operations on PreparedPolygons.
More...
#include <PreparedPolygonPredicate.h>
A base class for predicate operations on PreparedPolygons.
- Author
- mbdavis
Definition at line 58 of file PreparedPolygonPredicate.h.
geos::geom::prep::PreparedPolygonPredicate::PreparedPolygonPredicate |
( |
const PreparedPolygon *const |
p_prepPoly | ) |
|
|
inline |
virtual geos::geom::prep::PreparedPolygonPredicate::~PreparedPolygonPredicate |
( |
| ) |
|
|
inlinevirtual |
Returns the outermost Location among a test point from each components of the test geometry.
- Parameters
-
testGeom | a geometry to test |
- Returns
- the outermost Location
bool geos::geom::prep::PreparedPolygonPredicate::isAllTestComponentsInTargetInterior |
( |
const geom::Geometry * |
testGeom | ) |
const |
|
protected |
Tests whether all components of the test Geometry are contained in the interior of the target geometry.
Handles both linear and point components.
- Parameters
-
testGeom | a geometry to test |
- Returns
- true if all componenta of the argument are contained in the target geometry interior
Tests whether any component of the target geometry intersects the test geometry (which must be an areal geometry)
- Parameters
-
testGeom | the test geometry |
targetRepPts | the representative points of the target geometry |
- Returns
- true if any component intersects the areal test geometry
bool geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTarget |
( |
const geom::Geometry * |
testGeom | ) |
const |
|
protected |
Tests whether any component of the test Geometry intersects the area of the target geometry.
Handles test geometries with both linear and point components.
- Parameters
-
testGeom | a geometry to test |
- Returns
- true if any component of the argument intersects the prepared geometry
bool geos::geom::prep::PreparedPolygonPredicate::isAnyTestComponentInTargetInterior |
( |
const geom::Geometry * |
testGeom | ) |
const |
|
protected |
Tests whether any component of the test Geometry intersects the interior of the target geometry.
Handles test geometries with both linear and point components.
- Parameters
-
testGeom | a geometry to test |
- Returns
- true if any component of the argument intersects the prepared area geometry interior
const PreparedPolygon* const geos::geom::prep::PreparedPolygonPredicate::prepPoly |
|
protected |
The documentation for this class was generated from the following file: