20#ifndef GEOS_OP_OVERLAY_SNAP_GEOMETRYSNAPPER_H
21#define GEOS_OP_OVERLAY_SNAP_GEOMETRYSNAPPER_H
23#include <geos/geom/Coordinate.h>
62 typedef std::auto_ptr<geom::Geometry> GeomPtr;
75 double snapTolerance, geom::GeomPtrPair& ret);
78 double snapTolerance,
bool cleanResult);
101 double snapTolerance);
112 std::auto_ptr<geom::Geometry>
snapToSelf(
double snapTolerance,
124 static double computeSizeBasedSnapTolerance(
const geom::Geometry& g);
138 static const double snapPrecisionFactor;
143 std::auto_ptr<geom::Coordinate::ConstVect> extractTargetCoordinates(
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
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:85
std::auto_ptr< geom::Geometry > snapTo(const geom::Geometry &g, double snapTolerance)
Snaps the vertices in the component LineStrings of the source geometry to the vertices of the given s...
std::auto_ptr< geom::Geometry > snapToSelf(double snapTolerance, bool cleanResult)
Snaps the vertices in the component LineStrings of the source geometry to the vertices of itself with...
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that perform a topological overlay to compute boolean spatial functions.
Definition BufferBuilder.h:62
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25