22 #include <geos/geom/prep/PreparedGeometry.h>
23 #include <geos/geom/Coordinate.h>
24 #include <geos/operation/relateng/RelateNG.h>
61 std::vector<const CoordinateXY*> representativePts;
62 mutable std::unique_ptr<RelateNG> relate_ng;
66 if (relate_ng ==
nullptr)
115 const std::vector<const CoordinateXY*>*
118 return &representativePts;
207 std::string toString();
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:197
A base class for PreparedGeometry subclasses.
Definition: BasicPreparedGeometry.h:56
const geom::Geometry & getGeometry() const override
Gets the original Geometry which has been prepared.
Definition: BasicPreparedGeometry.h:103
bool covers(const geom::Geometry *g) const override
bool envelopeCovers(const geom::Geometry *g) const
const std::vector< const CoordinateXY * > * getRepresentativePoints() const
Definition: BasicPreparedGeometry.h:116
bool relate(const geom::Geometry *g, const std::string &pat) const override
bool coveredBy(const geom::Geometry *g) const override
bool isWithinDistance(const geom::Geometry *geom, double dist) const override
bool intersects(const geom::Geometry *g) const override
bool contains(const geom::Geometry *g) const override
double distance(const geom::Geometry *g) const override
bool isAnyTargetComponentInTest(const geom::Geometry *testGeom) const
std::unique_ptr< geom::CoordinateSequence > nearestPoints(const geom::Geometry *g) const override
bool envelopesIntersect(const geom::Geometry *g) const
bool touches(const geom::Geometry *g) const override
bool crosses(const geom::Geometry *g) const override
bool overlaps(const geom::Geometry *g) const override
void setGeometry(const geom::Geometry *geom)
bool within(const geom::Geometry *g) const override
std::unique_ptr< IntersectionMatrix > relate(const geom::Geometry *g) const override
bool disjoint(const geom::Geometry *g) const override
bool containsProperly(const geom::Geometry *g) const override
An interface for classes which prepare Geometrys in order to optimize the performance of repeated cal...
Definition: PreparedGeometry.h:58
Definition: RelateNG.h:86
static std::unique_ptr< RelateNG > prepare(const Geometry *a)
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25