24 #include <geos/export.h>
31 class CoordinateSequence;
32 class IntersectionMatrix;
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:197
An interface for classes which prepare Geometrys in order to optimize the performance of repeated cal...
Definition: PreparedGeometry.h:58
virtual bool intersects(const geom::Geometry *geom) const =0
Tests whether the base Geometry intersects a given geometry.
virtual bool contains(const geom::Geometry *geom) const =0
Tests whether the base Geometry contains a given geometry.
virtual bool coveredBy(const geom::Geometry *geom) const =0
Tests whether the base Geometry is covered by a given geometry.
virtual bool overlaps(const geom::Geometry *geom) const =0
Tests whether the base Geometry overlaps a given geometry.
virtual bool relate(const geom::Geometry *geom, const std::string &pat) const =0
Compares the prepared geometry to the given geometry and the provided DE9IM pattern,...
virtual std::unique_ptr< IntersectionMatrix > relate(const geom::Geometry *geom) const =0
Compares the prepared geometry to the given geometry and returns the DE9IM intersection matrix as a s...
virtual bool containsProperly(const geom::Geometry *geom) const =0
Tests whether the base Geometry properly contains a given geometry.
virtual bool isWithinDistance(const geom::Geometry *geom, double dist) const =0
Tests whether the base Geometry is within a given distance from the given geometry.
virtual std::unique_ptr< geom::CoordinateSequence > nearestPoints(const geom::Geometry *geom) const =0
Compute the nearest locations on the base Geometry and the given geometry.
virtual bool disjoint(const geom::Geometry *geom) const =0
Tests whether the base Geometry is disjoint from a given geometry.
virtual bool crosses(const geom::Geometry *geom) const =0
Tests whether the base Geometry crosses a given geometry.
virtual bool within(const geom::Geometry *geom) const =0
Tests whether the base Geometry is within a given geometry.
virtual bool covers(const geom::Geometry *geom) const =0
Tests whether the base Geometry covers a given geometry.
virtual bool touches(const geom::Geometry *geom) const =0
Tests whether the base Geometry touches a given geometry.
virtual const geom::Geometry & getGeometry() const =0
Gets the original Geometry which has been prepared.
virtual double distance(const geom::Geometry *geom) const =0
Compute the minimum distance between the base Geometry and the given geometry.
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25