#include <GeometrySnapper.h>
Public Member Functions | |
| GeometrySnapper (const geom::Geometry &g) | |
| 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 geometry with a given snap tolerance. | |
Static Public Member Functions | |
| static double | computeOverlaySnapTolerance (const geom::Geometry &g) |
| Estimates the snap tolerance for a Geometry, taking into account its precision model. | |
| static double | computeSizeBasedSnapTolerance (const geom::Geometry &g) |
| static double | computeOverlaySnapTolerance (const geom::Geometry &g1, const geom::Geometry &g2) |
| Computes the snap tolerance based on input geometries;. | |
| std::auto_ptr<geom::Geometry> geos::precision::GeometrySnapper::snapTo | ( | const geom::Geometry & | g, | |
| double | snapTolerance | |||
| ) |
Snaps the vertices in the component LineStrings of the source geometry to the vertices of the given geometry with a given snap tolerance.
| g | ||
| snapTolerance |
| static double geos::precision::GeometrySnapper::computeOverlaySnapTolerance | ( | const geom::Geometry & | g | ) | [static] |
Estimates the snap tolerance for a Geometry, taking into account its precision model.
| g | a Geometry |
1.5.4