Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm. More...
#include <TaggedLineStringSimplifier.h>
Public Member Functions | |
| TaggedLineStringSimplifier (LineSegmentIndex *inputIndex, LineSegmentIndex *outputIndex) | |
| void | setDistanceTolerance (double d) |
| Sets the distance tolerance for the simplification. | |
| void | simplify (TaggedLineString *line) |
Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm.
| void geos::simplify::TaggedLineStringSimplifier::setDistanceTolerance | ( | double | d ) | [inline] |
Sets the distance tolerance for the simplification.
All vertices in the simplified geometry will be within this distance of the original geometry.
| d | the approximation tolerance to use |
1.7.2