#include <GeometrySnapper.h>
Public Types | |
typedef std::auto_ptr< geom::Geometry > | GeomPtr |
typedef std::pair< GeomPtr, GeomPtr > | GeomPtrPair |
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 snap geometry with a given snap tolerance. | |
Static Public Member Functions | |
void | snap (const geom::Geometry &g0, const geom::Geometry &g1, double snapTolerance, GeomPtrPair &ret) |
double | computeOverlaySnapTolerance (const geom::Geometry &g) |
Estimates the snap tolerance for a Geometry, taking into account its precision model. | |
double | computeSizeBasedSnapTolerance (const geom::Geometry &g) |
double | computeOverlaySnapTolerance (const geom::Geometry &g1, const geom::Geometry &g2) |
Computes the snap tolerance based on input geometries;. |
|
Creates a new snapper acting on the given geometry
|
|
Estimates the snap tolerance for a Geometry, taking into account its precision model.
|
|
Snaps two geometries together with a given tolerance.
|
|
Snaps the vertices in the component LineStrings of the source geometry to the vertices of the given snap geometry with a given snap tolerance.
|