22 #ifndef GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H
23 #define GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H
25 #include <geos/export.h>
26 #include <geos/algorithm/distance/PointPairDistance.h>
27 #include <geos/algorithm/distance/DistanceToPoint.h>
28 #include <geos/util/IllegalArgumentException.h>
29 #include <geos/geom/Geometry.h>
30 #include <geos/util/math.h>
31 #include <geos/geom/CoordinateFilter.h>
32 #include <geos/geom/CoordinateSequence.h>
39 #pragma warning(disable: 4251)
52 namespace intervalrtree {
138 return ptDist.getDistance();
141 const std::array<geom::Coordinate, 2>
142 getCoordinates()
const
144 return ptDist.getCoordinates();
150 PointPairDistance& getFrecheDistance(std::vector< std::vector<PointPairDistance> >& ca, std::size_t i, std::size_t j,
159 PointPairDistance ptDist;
165 DiscreteFrechetDistance(
const DiscreteFrechetDistance& other) =
delete;
166 DiscreteFrechetDistance& operator=(
const DiscreteFrechetDistance& rhs) =
delete;
An algorithm for computing a distance metric which is an approximation to the Frechet Distance based ...
Definition: DiscreteFrechetDistance.h:106
void setDensifyFraction(double dFrac)
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26