29class PreparedLineString;
31class PreparedLineStringDistance {
34 static double distance(
const PreparedLineString& prep,
const geom::Geometry* geom)
36 PreparedLineStringDistance op(prep);
37 return op.distance(geom);
40 PreparedLineStringDistance(
const PreparedLineString& prep)
44 double distance(
const geom::Geometry* g)
const;
46 bool isWithinDistance(
const geom::Geometry* g,
double d)
const;
50 const PreparedLineString& prepLine;
53 PreparedLineStringDistance(
const PreparedLineStringDistance& other) =
delete;
54 PreparedLineStringDistance& operator=(
const PreparedLineStringDistance& rhs) =
delete;
Basic namespace for all GEOS functionalities.
Definition geos.h:39