Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::operation::overlay::snap::LineStringSnapper Class Reference

Snaps the vertices and segments of a LineString to a set of target snap vertices. More...

#include <LineStringSnapper.h>

List of all members.

Public Member Functions

 LineStringSnapper (const geom::Coordinate::Vect &nSrcPts, double nSnapTol)
std::auto_ptr< geom::Coordinate::VectsnapTo (const geom::Coordinate::ConstVect &snapPts)
void setAllowSnappingToSourceVertices (bool allow)


Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
nSrcPts the points to snap
nSnapTolerance the snap tolerance to use


The documentation for this class was generated from the following file:
Generated on Tue Jun 5 11:39:13 2012 for GEOS by  doxygen 1.3.9.1