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>
78 bool isInArea(
const Point& pt);
82 std::unique_ptr<operation::distance::IndexedFacetDistance> facetDistance;
83 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:41
std::unique_ptr< geom::CoordinateSequence > nearestPoints(const Point &pt)
Computes the nearest point on the geometry to the point.
IndexedDistanceToPoint(const Geometry &geom)
Creates an instance to find the distance from points to a geometry.
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:197
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 geos.h:39