unique

# unique: make a geometry unique w.r.t. points,

typename Geometry
void void boost::geometry::unique (Geometry &geometry) unique Geometry & geometry

Calculates the minimal set of a geometry.

The free function unique calculates the minimal set (where duplicate consecutive points are removed) of a geometry. Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept which will be made unique

[include reference/algorithms/unique.qbk]