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 implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
A prepared version of LinearRing, LineString or MultiLineString geometries.
Definition PreparedLineString.h:41
Contains classes and interfaces implementing algorithms that optimize the performance of repeated cal...
Definition AbstractPreparedPolygonContains.h:30
Basic namespace for all GEOS functionalities.
Definition geos.h:38