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) // warning C4251: needs to have dll-interface to be used by clients of class
52 namespace intervalrtree {
135 if ( dFrac > 1.0 || dFrac <= 0.0 )
138 "Fraction is not in range (0.0 - 1.0]");
147 return ptDist.getDistance();
150 const std::vector<geom::Coordinate> getCoordinates()
const
152 return ptDist.getCoordinates();
166 PointPairDistance ptDist;
172 DiscreteFrechetDistance(
const DiscreteFrechetDistance& other) =
delete;
173 DiscreteFrechetDistance& operator=(
const DiscreteFrechetDistance& rhs) =
delete;
184 #endif // GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H
void setDensifyFraction(double dFrac)
Definition: DiscreteFrechetDistance.h:133
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:177
Indicates one or more illegal arguments.
Definition: IllegalArgumentException.h:34
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
An algorithm for computing a distance metric which is an approximation to the Frechet Distance based ...
Definition: DiscreteFrechetDistance.h:106