20 #ifndef GEOS_GEOM_PREP_BASICPREPAREDGEOMETRY_H
21 #define GEOS_GEOM_PREP_BASICPREPAREDGEOMETRY_H
23 #include <geos/geom/prep/PreparedGeometry.h>
26 #include <geos/geom/Coordinate.h>
59 class BasicPreparedGeometry:
public PreparedGeometry {
61 const geom::Geometry* baseGeom;
90 BasicPreparedGeometry(
const Geometry* geom);
92 ~BasicPreparedGeometry()
override =
default;
110 return &representativePts;
174 std::string toString();
182 #endif // GEOS_GEOM_PREP_BASICPREPAREDGEOMETRY_H
std::vector< const Coordinate * > ConstVect
A vector of const Coordinate pointers.
Definition: Coordinate.h:92
bool envelopeCovers(const geom::Geometry *g) const
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:24
const geom::Geometry & getGeometry() const override
Definition: BasicPreparedGeometry.h:94
bool crosses(const geom::Geometry *g) const override
void setGeometry(const geom::Geometry *geom)
bool coveredBy(const geom::Geometry *g) const override
bool within(const geom::Geometry *g) const override
bool covers(const geom::Geometry *g) const override
bool containsProperly(const geom::Geometry *g) const override
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:187
const Coordinate::ConstVect * getRepresentativePoints() const
Definition: BasicPreparedGeometry.h:107
bool intersects(const geom::Geometry *g) const override
bool contains(const geom::Geometry *g) const override
bool touches(const geom::Geometry *g) const override
bool disjoint(const geom::Geometry *g) const override
bool isAnyTargetComponentInTest(const geom::Geometry *testGeom) const
bool envelopesIntersect(const geom::Geometry *g) const
bool overlaps(const geom::Geometry *g) const override