24#include <geos/geom/prep/PreparedLineString.h>
29class CoordinateSequence;
33class PreparedLineStringNearestPoints {
36 static std::unique_ptr<geom::CoordinateSequence>
37 nearestPoints(
const PreparedLineString& prep,
const geom::Geometry* geom)
39 PreparedLineStringNearestPoints op(prep);
40 return op.nearestPoints(geom);
43 PreparedLineStringNearestPoints(
const PreparedLineString& prep)
47 std::unique_ptr<geom::CoordinateSequence> nearestPoints(
const geom::Geometry* g)
const;
51 const PreparedLineString& prepLine;
54 PreparedLineStringNearestPoints(
const PreparedLineStringNearestPoints& other) =
delete;
55 PreparedLineStringNearestPoints& operator=(
const PreparedLineStringNearestPoints& rhs) =
delete;
Basic namespace for all GEOS functionalities.
Definition geos.h:39