19 #ifndef GEOS_INDEXEDFACETDISTANCE_H
20 #define GEOS_INDEXEDFACETDISTANCE_H
22 #include <geos/operation/distance/FacetSequenceTreeBuilder.h>
62 cachedTree(FacetSequenceTreeBuilder::build(g))
102 std::unique_ptr<geos::index::strtree::STRtree> cachedTree;
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Computes the distance between the facets (segments and vertices) of two Geometrys using a Branch-and-...
Definition: IndexedFacetDistance.h:47
std::vector< geom::Coordinate > nearestPoints(const geom::Geometry *g) const
Compute the nearest locations on the target geometry and 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.
double distance(const geom::Geometry *g) const
Computes the distance from the base geometry to the given geometry.
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.
IndexedFacetDistance(const geom::Geometry *g)
Creates a new distance-finding instance for a given target geom::Geometry.
Definition: IndexedFacetDistance.h:61
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26