21#include <geos/operation/distance/FacetSequenceTreeBuilder.h>
61 cachedTree(FacetSequenceTreeBuilder::build(g))
101 std::unique_ptr<geos::index::strtree::TemplateSTRtree<const FacetSequence*>> cachedTree;
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
double distance(const geom::Geometry *g) const
Computes the distance from the base geometry to the given geometry.
static std::vector< geom::Coordinate > nearestPoints(const geom::Geometry *g1, const geom::Geometry *g2)
Computes the nearest points of the facets of two geometries.
static double distance(const geom::Geometry *g1, const geom::Geometry *g2)
Computes the distance between facets of two geometries.
std::vector< GeometryLocation > nearestLocations(const geom::Geometry *g) const
Computes the nearest locations on the base geometry and the given geometry.
std::vector< geom::Coordinate > nearestPoints(const geom::Geometry *g) const
Compute the nearest locations on the target geometry and the given geometry.
IndexedFacetDistance(const geom::Geometry *g)
Creates a new distance-finding instance for a given target geom::Geometry.
Definition: IndexedFacetDistance.h:60
Basic namespace for all GEOS functionalities.
Definition: geos.h:39