GEOS 3.14.0dev
|
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, const ComponentJumpChecker *jumpChecker) | |
void | simplify (TaggedLineString *line, double distanceTolerance) |
Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm.
void geos::simplify::TaggedLineStringSimplifier::simplify | ( | TaggedLineString * | line, |
double | distanceTolerance | ||
) |
Simplifies the given TaggedLineString
using the distance tolerance specified.
line | the linestring to simplify |
distanceTolerance | simplification tolerance |