#include <PreparedGeometry.h>
Inheritance diagram for geos::geom::prep::PreparedGeometry:
Public Member Functions | |
virtual const geom::Geometry & | getGeometry () const =0 |
virtual bool | contains (const geom::Geometry *geom) const =0 |
virtual bool | containsProperly (const geom::Geometry *geom) const =0 |
Tests whether the base Geometry properly contains a given geometry. | |
virtual bool | coveredBy (const geom::Geometry *geom) const =0 |
virtual bool | covers (const geom::Geometry *geom) const =0 |
virtual bool | crosses (const geom::Geometry *geom) const =0 |
virtual bool | disjoint (const geom::Geometry *geom) const =0 |
virtual bool | intersects (const geom::Geometry *geom) const =0 |
virtual bool | overlaps (const geom::Geometry *geom) const =0 |
virtual bool | touches (const geom::Geometry *geom) const =0 |
virtual bool | within (const geom::Geometry *geom) const =0 |
A given implementation may provide optimized implementations for only some of the specified methods, and delegate the remaining methods to the original Geometry operations. An implementation may also only optimize certain situations, and delegate others. See the implementing classes for documentation about which methods and situations they optimize.
|
Tests whether the base Geometry contains a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry, and geos::geom::prep::PreparedPolygon. |
|
Tests whether the base Geometry properly contains a given geometry.
The
In other words, if the test geometry has any interaction with the boundary of the target geometry the result of The advantage of using this predicate is that it can be computed efficiently, since it avoids the need to compute the full topological relationship of the input boundaries in cases where they intersect.
An example use case is computing the intersections of a set of geometries with a large polygonal geometry. Since
Implemented in geos::geom::prep::BasicPreparedGeometry, and geos::geom::prep::PreparedPolygon. |
|
Tests whether the base Geometry is covered by a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Tests whether the base Geometry covers a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry, and geos::geom::prep::PreparedPolygon. |
|
Tests whether the base Geometry crosses a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Tests whether the base Geometry is disjoint from a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Gets the original Geometry which has been prepared.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Tests whether the base Geometry intersects a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry, geos::geom::prep::PreparedLineString, and geos::geom::prep::PreparedPolygon. |
|
Tests whether the base Geometry overlaps a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Tests whether the base Geometry touches a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |
|
Tests whether the base Geometry is within a given geometry.
Implemented in geos::geom::prep::BasicPreparedGeometry. |