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();
bool touches(const geom::Geometry *g) const override
std::unique_ptr< IntersectionMatrix > relate(const geom::Geometry *g) const override
bool intersects(const geom::Geometry *g) const override
bool contains(const geom::Geometry *g) const override
bool disjoint(const geom::Geometry *g) const override
bool envelopesIntersect(const geom::Geometry *g) const
const std::vector< const CoordinateXY * > * getRepresentativePoints() const
Definition: BasicPreparedGeometry.h:116
bool overlaps(const geom::Geometry *g) const override
bool envelopeCovers(const geom::Geometry *g) const
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
bool crosses(const geom::Geometry *g) const override
bool coveredBy(const geom::Geometry *g) const override
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:197
const geom::Geometry & getGeometry() const override
Gets the original Geometry which has been prepared.
Definition: BasicPreparedGeometry.h:103
static std::unique_ptr< RelateNG > prepare(const Geometry *a)
bool isAnyTargetComponentInTest(const geom::Geometry *testGeom) const
Definition: RelateNG.h:93
An interface for classes which prepare Geometrys in order to optimize the performance of repeated cal...
Definition: PreparedGeometry.h:58
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
A base class for PreparedGeometry subclasses.
Definition: BasicPreparedGeometry.h:58
bool covers(const geom::Geometry *g) const override
std::unique_ptr< geom::CoordinateSequence > nearestPoints(const geom::Geometry *g) const override
bool isWithinDistance(const geom::Geometry *geom, double dist) const override
double distance(const geom::Geometry *g) const override
bool containsProperly(const geom::Geometry *g) const override
bool within(const geom::Geometry *g) const override
void setGeometry(const geom::Geometry *geom)