22 #ifndef GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H 23 #define GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_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) {
137 "Fraction is not in range (0.0 - 1.0]");
147 return ptDist.getDistance();
150 const std::array<geom::Coordinate, 2>
153 return ptDist.getCoordinates();
159 PointPairDistance& getFrecheDistance(std::vector< std::vector<PointPairDistance> >& ca,
size_t i,
size_t j,
186 #endif // GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H
void setDensifyFraction(double dFrac)
Coordinate is the lightweight class used to store coordinates.
double densifyFrac
Value of 0.0 indicates that no densification should take place.
const geom::Geometry & g1
const std::array< geom::Coordinate, 2 > getCoordinates() const
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Indicates one or more illegal arguments.
Basic namespace for all GEOS functionalities.
The internal representation of a list of coordinates inside a Geometry.
An algorithm for computing a distance metric which is an approximation to the Frechet Distance based ...
DiscreteFrechetDistance(const geom::Geometry &p_g0, const geom::Geometry &p_g1)
const geom::Geometry & g0