Snaps the vertices and segments of a LineString to a set of target snap vertices. More...
#include <LineStringSnapper.h>
Public Member Functions | |
LineStringSnapper (const geom::Coordinate::Vect &nSrcPts, double nSnapTol) | |
std::auto_ptr < geom::Coordinate::Vect > | snapTo (const geom::Coordinate::ConstVect &snapPts) |
Snaps the vertices and segments of a LineString to a set of target snap vertices.
A snapping distance tolerance is used to control where snapping is performed.
geos::operation::overlay::snap::LineStringSnapper::LineStringSnapper | ( | const geom::Coordinate::Vect & | nSrcPts, | |
double | nSnapTol | |||
) | [inline] |
Creates a new snapper using the given points as source points to be snapped.
nSrcPts | the points to snap | |
nSnapTolerance | the snap tolerance to use |