22 #include <geos/geom/CoordinateSequence.h>
23 #include <geos/geom/Geometry.h>
24 #include <geos/geom/Point.h>
25 #include <geos/algorithm/construct/IndexedPointInPolygonsLocator.h>
26 #include <geos/operation/distance/IndexedFacetDistance.h>
79 bool isInArea(
const Point& pt);
83 std::unique_ptr<operation::distance::IndexedFacetDistance> facetDistance;
84 std::unique_ptr<IndexedPointInPolygonsLocator> ptLocator;
Computes the distance between a point and a geometry (which may be a collection containing any type o...
Definition: IndexedDistanceToPoint.h:45
IndexedDistanceToPoint(const Geometry &geom)
Creates an instance to find the distance from points to a geometry.
std::unique_ptr< geom::CoordinateSequence > nearestPoints(const Point &pt)
Computes the nearest point on the geometry to the point.
double distance(const Point &pt)
Computes the distance from the base geometry to the given point.
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Computes the distance between the facets (segments and vertices) of two Geometrys using a Branch-and-...
Definition: IndexedFacetDistance.h:46
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25