GEOS 3.11.1
|
#include <RepeatedPointRemover.h>
Static Public Member Functions | |
static std::unique_ptr< geom::CoordinateArraySequence > | removeRepeatedPoints (const geom::CoordinateSequence *seq, double tolerance=0.0) |
static std::unique_ptr< geom::CoordinateArraySequence > | 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 |