22#include <geos/geom/Coordinate.h>
32class CoordinateSequence;
61 typedef std::unique_ptr<geom::Geometry> GeomPtr;
74 double snapTolerance, geom::GeomPtrPair& ret);
77 double snapTolerance,
bool cleanResult);
100 double snapTolerance);
111 std::unique_ptr<geom::Geometry>
snapToSelf(
double snapTolerance,
123 static double computeSizeBasedSnapTolerance(
const geom::Geometry& g);
137 static const double snapPrecisionFactor;
142 std::unique_ptr<geom::Coordinate::ConstVect> extractTargetCoordinates(
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Snaps the vertices and segments of a geom::Geometry to another Geometry's vertices.
Definition: GeometrySnapper.h:57
static void snap(const geom::Geometry &g0, const geom::Geometry &g1, double snapTolerance, geom::GeomPtrPair &ret)
static double computeOverlaySnapTolerance(const geom::Geometry &g1, const geom::Geometry &g2)
Computes the snap tolerance based on input geometries;.
static double computeOverlaySnapTolerance(const geom::Geometry &g)
Estimates the snap tolerance for a Geometry, taking into account its precision model.
GeometrySnapper(const geom::Geometry &g)
Definition: GeometrySnapper.h:84
std::unique_ptr< geom::Geometry > snapTo(const geom::Geometry &g, double snapTolerance)
Snaps the vertices in the component geom::LineStrings of the source geometry to the vertices of the g...
std::unique_ptr< geom::Geometry > snapToSelf(double snapTolerance, bool cleanResult)
Snaps the vertices in the component geom::LineStrings of the source geometry to the vertices of itsel...
Basic namespace for all GEOS functionalities.
Definition: geos.h:39