21 #include <geos/operation/distance/FacetSequenceTreeBuilder.h> 61 cachedTree(FacetSequenceTreeBuilder::build(g)),
95 bool isWithinDistance(
const geom::Geometry* g,
double maxDistance)
const;
101 std::vector<GeometryLocation> nearestLocations(
const geom::Geometry* g)
const;
107 std::unique_ptr<geom::CoordinateSequence> nearestPoints(
const geom::Geometry* g)
const;
110 struct FacetDistance {
111 double operator()(
const FacetSequence* a,
const FacetSequence* b)
const 113 return a->distance(*b);
117 std::unique_ptr<geos::index::strtree::TemplateSTRtree<const FacetSequence*>> cachedTree;
Computes the distance between the facets (segments and vertices) of two Geometrys using a Branch-and-...
Definition: IndexedFacetDistance.h:46
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
IndexedFacetDistance(const geom::Geometry *g)
Creates a new distance-finding instance for a given target geom::Geometry.
Definition: IndexedFacetDistance.h:60