Boost.Geometry    Boost C++ Libraries
Functions
unique: make a geometry unique w.r.t. points,

Functions

template<typename Geometry >
void boost::geometry::unique (Geometry &geometry)
 Calculates the minimal set of a geometry.

Function Documentation

template<typename Geometry >
void boost::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.

Template Parameters:
GeometryAny type fulfilling a Geometry Concept
Parameters:
geometryA model of the specified concept which will be made unique

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen