22#include <geos/geom/prep/PreparedPolygonPredicate.h>
29 class PreparedPolygon;
40class PreparedPolygonDistance :
public PreparedPolygonPredicate {
43 static double distance(
const PreparedPolygon& prep,
const geom::Geometry* geom)
45 PreparedPolygonDistance op(prep);
46 return op.distance(geom);
49 PreparedPolygonDistance(
const PreparedPolygon& prep)
53 double distance(
const geom::Geometry* g)
const;
55 bool isWithinDistance(
const geom::Geometry* g,
double d)
const;
60 PreparedPolygonDistance(
const PreparedPolygonDistance& other) =
delete;
61 PreparedPolygonDistance& operator=(
const PreparedPolygonDistance& rhs) =
delete;
PreparedPolygonPredicate(const PreparedPolygon *const p_prepPoly)
Creates an instance of this operation.
Definition PreparedPolygonPredicate.h:128
Basic namespace for all GEOS functionalities.
Definition geos.h:39