20 #ifndef GEOS_GEOM_PREP_PREPAREDPOLYGONDISTANCE_H 21 #define GEOS_GEOM_PREP_PREPAREDPOLYGONDISTANCE_H 28 class PreparedPolygon;
37 class PreparedPolygon;
39 class PreparedPolygonDistance {
42 static double distance(
const PreparedPolygon& prep,
const geom::Geometry* geom)
44 PreparedPolygonDistance op(prep);
45 return op.distance(geom);
48 PreparedPolygonDistance(
const PreparedPolygon& prep)
52 double distance(
const geom::Geometry* g)
const;
56 const PreparedPolygon& prepPoly;
59 PreparedPolygonDistance(
const PreparedPolygonDistance& other) =
delete;
60 PreparedPolygonDistance& operator=(
const PreparedPolygonDistance& rhs) =
delete;
67 #endif // GEOS_GEOM_PREP_PREPAREDPOLYGONDISTANCE_H Basic namespace for all GEOS functionalities.
Definition: Angle.h:26