GEOS  3.9.0dev
Static Public Member Functions | List of all members
geos::operation::valid::RepeatedPointRemover Class Reference

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...
 

Detailed Description

Removes repeated, consecutive equal, coordinates from a CoordinateSequence.

Member Function Documentation

static std::unique_ptr<geom::CoordinateArraySequence> geos::operation::valid::RepeatedPointRemover::removeRepeatedPoints ( const geom::CoordinateSequence seq)
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.

Parameters
seq
Returns

The documentation for this class was generated from the following file: