20 #ifndef GEOS_GEOM_PREP_PREPAREDLINESTRINGDISTANCE_H
21 #define GEOS_GEOM_PREP_PREPAREDLINESTRINGDISTANCE_H
27 class PreparedLineString;
29 class PreparedLineStringDistance {
32 static double distance(
const PreparedLineString& prep,
const geom::Geometry* geom)
34 PreparedLineStringDistance op(prep);
35 return op.distance(geom);
38 PreparedLineStringDistance(
const PreparedLineString& prep)
42 double distance(
const geom::Geometry* g)
const;
46 const PreparedLineString& prepLine;
49 PreparedLineStringDistance(
const PreparedLineStringDistance& other) =
delete;
50 PreparedLineStringDistance& operator=(
const PreparedLineStringDistance& rhs) =
delete;
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26