22#include <geos/geom/Coordinate.h>
32class CoordinateSequence;
60 typedef std::unique_ptr<geom::Geometry> GeomPtr;
73 double snapTolerance, geom::GeomPtrPair& ret);
76 double snapTolerance,
bool cleanResult);
99 double snapTolerance);
110 std::unique_ptr<geom::Geometry>
snapToSelf(
double snapTolerance,
122 static double computeSizeBasedSnapTolerance(
const geom::Geometry& g);
136 static const double snapPrecisionFactor;
141 std::unique_ptr<geom::Coordinate::ConstVect> extractTargetCoordinates(
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Snaps the vertices and segments of a geom::Geometry to another Geometry's vertices.
Definition GeometrySnapper.h:56
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:83
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