19 #ifndef GEOS_ALGORITHM_DISTANCE_DISTANCETOPOINT_H
20 #define GEOS_ALGORITHM_DISTANCE_DISTANCETOPOINT_H
22 #include <geos/geom/LineSegment.h>
27 class PointPairDistance;
47 class DistanceToPoint {
52 static void computeDistance(
const geom::Geometry& geom,
53 const geom::Coordinate& pt,
54 PointPairDistance& ptDist);
56 static void computeDistance(
const geom::LineString& geom,
57 const geom::Coordinate& pt,
58 PointPairDistance& ptDist);
60 static void computeDistance(
const geom::LineSegment& geom,
61 const geom::Coordinate& pt,
62 PointPairDistance& ptDist);
64 static void computeDistance(
const geom::Polygon& geom,
65 const geom::Coordinate& pt,
66 PointPairDistance& ptDist);
74 #endif // GEOS_ALGORITHM_DISTANCE_DISTANCETOPOINT_H