|
GEOS 3.15.0dev
|
#include <RepeatedPointRemover.h>
Static Public Member Functions | |
| static std::unique_ptr< geom::CoordinateSequence > | removeRepeatedPoints (const geom::CoordinateSequence *seq, double tolerance=0.0) |
| static std::unique_ptr< geom::CoordinateSequence > | removeRepeatedAndInvalidPoints (const geom::CoordinateSequence *seq, double tolerance=0.0) |
| static std::unique_ptr< geom::Geometry > | removeRepeatedPoints (const geom::Geometry *geom, double tolerance=0.0) |
Removes repeated, consecutive equal, coordinates from a CoordinateSequence.
|
static |
Returns a new CoordinateSequence being a copy of the input with any consecutive equal Coordinate removed. Equality test is 2D based.
| seq | to filter |
| tolerance | to apply |