GEOS
3.6.1
|
Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced). More...
#include <TaggedLinesSimplifier.h>
Public Member Functions | |
void | setDistanceTolerance (double tolerance) |
Sets the distance tolerance for the simplification. More... | |
template<class iterator_type > | |
void | simplify (iterator_type begin, iterator_type end) |
Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced).
void geos::simplify::TaggedLinesSimplifier::setDistanceTolerance | ( | double | tolerance | ) |
Sets the distance tolerance for the simplification.
All vertices in the simplified geometry will be within this distance of the original geometry.
tolerance | the approximation tolerance to use |
|
inline |
Simplify a set of TaggedLineStrings
iterator_type | an iterator, must support assignment, increment, inequality and dereference operators. Dereference operator must return a TaggedLineString* |
begin | iterator to the first element to be simplified. |
end | an iterator to one-past-last element to be simplified. |