GEOS
3.9.1
|
Removes repeated, consecutive equal, coordinates from a CoordinateSequence. More...
#include <RepeatedPointRemover.h>
Static Public Member Functions | |
static std::unique_ptr< geom::CoordinateArraySequence > | removeRepeatedPoints (const geom::CoordinateSequence *seq) |
Returns a new CoordinateSequence being a copy of the input with any consecutive equal Coordinate removed. More... | |
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
Ownership of returned object goes to the caller.
seq |