contains
spatial relationship predicate for a PreparedPolygon relative to all other Geometry classes.
More...
#include <PreparedPolygonContains.h>
Inheritance diagram for geos::geom::prep::PreparedPolygonContains:
Public Member Functions | |
PreparedPolygonContains (const PreparedPolygon *const prepPoly) | |
bool | contains (const geom::Geometry *geom) |
Static Public Member Functions | |
bool | contains (const PreparedPolygon *const prep, const geom::Geometry *geom) |
Protected Member Functions | |
bool | fullTopologicalPredicate (const geom::Geometry *geom) |
contains
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.
|
Creates an instance of this operation.
|
|
Computes the contains predicate between a PreparedPolygon and a Geometry.
|
|
Tests whether this PreparedPolygon
|
|
Computes the full topological
Implements geos::geom::prep::AbstractPreparedPolygonContains. |