#include <BasicPreparedGeometry.h>

Public Member Functions | |
| BasicPreparedGeometry (const Geometry *geom) | |
| const geom::Geometry & | getGeometry () const |
| const Coordinate::ConstVect * | getRepresentativePoints () const |
| bool | isAnyTargetComponentInTest (const geom::Geometry *testGeom) const |
| bool | contains (const geom::Geometry *g) const |
| bool | containsProperly (const geom::Geometry *g) const |
| bool | coveredBy (const geom::Geometry *g) const |
| bool | covers (const geom::Geometry *g) const |
| bool | crosses (const geom::Geometry *g) const |
| bool | disjoint (const geom::Geometry *g) const |
| bool | intersects (const geom::Geometry *g) const |
| bool | overlaps (const geom::Geometry *g) const |
| bool | touches (const geom::Geometry *g) const |
| bool | within (const geom::Geometry *g) const |
| std::string | toString () |
Protected Member Functions | |
| void | setGeometry (const geom::Geometry *geom) |
| bool | envelopesIntersect (const geom::Geometry *g) const |
| bool | envelopeCovers (const geom::Geometry *g) const |
Contains default implementations for methods, which simply delegate to the equivalent Geometry methods. This class may be used as a "no-op" class for Geometry types which do not have a corresponding PreparedGeometry implementation.
| void geos::geom::prep::BasicPreparedGeometry::setGeometry | ( | const geom::Geometry * | geom | ) | [protected] |
Sets the original Geometry which will be prepared.
| bool geos::geom::prep::BasicPreparedGeometry::envelopesIntersect | ( | const geom::Geometry * | g | ) | const [protected] |
| bool geos::geom::prep::BasicPreparedGeometry::envelopeCovers | ( | const geom::Geometry * | g | ) | const [protected] |
| const geom::Geometry& geos::geom::prep::BasicPreparedGeometry::getGeometry | ( | ) | const [inline, virtual] |
Gets the original Geometry which has been prepared.
Implements geos::geom::prep::PreparedGeometry.
| const Coordinate::ConstVect* geos::geom::prep::BasicPreparedGeometry::getRepresentativePoints | ( | ) | const [inline] |
Gets the list of representative points for this geometry. One vertex is included for every component of the geometry (i.e. including one for every ring of polygonal geometries)
| bool geos::geom::prep::BasicPreparedGeometry::isAnyTargetComponentInTest | ( | const geom::Geometry * | testGeom | ) | const |
Tests whether any representative of the target geometry intersects the test geometry. This is useful in A/A, A/L, A/P, L/P, and P/P cases.
| geom | the test geometry | |
| repPts | the representative points of the target geometry |
| bool geos::geom::prep::BasicPreparedGeometry::contains | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
Reimplemented in geos::geom::prep::PreparedPolygon.
| bool geos::geom::prep::BasicPreparedGeometry::containsProperly | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
Reimplemented in geos::geom::prep::PreparedPolygon.
| bool geos::geom::prep::BasicPreparedGeometry::coveredBy | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
| bool geos::geom::prep::BasicPreparedGeometry::covers | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
Reimplemented in geos::geom::prep::PreparedPolygon.
| bool geos::geom::prep::BasicPreparedGeometry::crosses | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
| bool geos::geom::prep::BasicPreparedGeometry::disjoint | ( | const geom::Geometry * | g | ) | const [virtual] |
Standard implementation for all geometries. Supports GeometryCollections as input.
Implements geos::geom::prep::PreparedGeometry.
| bool geos::geom::prep::BasicPreparedGeometry::intersects | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
Reimplemented in geos::geom::prep::PreparedLineString, and geos::geom::prep::PreparedPolygon.
| bool geos::geom::prep::BasicPreparedGeometry::overlaps | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
| bool geos::geom::prep::BasicPreparedGeometry::touches | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
| bool geos::geom::prep::BasicPreparedGeometry::within | ( | const geom::Geometry * | g | ) | const [virtual] |
Default implementation.
Implements geos::geom::prep::PreparedGeometry.
1.5.4