20 #ifndef GEOS_ALGORITHM_DISTANCE_POINTPAIRDISTANCE_H
21 #define GEOS_ALGORITHM_DISTANCE_POINTPAIRDISTANCE_H
24 #include <geos/platform.h>
25 #include <geos/geom/Coordinate.h>
60 distance(DoubleNotANumber),
63 assert(pt.size() == 2);
79 double getDistance()
const
84 const std::vector<geom::Coordinate>& getCoordinates()
const
97 setMaximum(ptDist.pt[0], ptDist.pt[1]);
108 initialize(p0, p1, dist);
113 setMinimum(ptDist.pt[0], ptDist.pt[1]);
124 initialize(p0, p1, dist);
144 std::vector<geom::Coordinate> pt;
155 #endif // GEOS_ALGORITHM_DISTANCE_POINTPAIRDISTANCE_H