correct

# correct: correct geometries

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

Corrects a geometry.

Corrects a geometry: all rings which are wrongly oriented with respect to their expected orientation are reversed. To all rings which do not have a closing point and are typed as they should have one, the first point is appended. Also boxes can be corrected.

Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept which will be corrected if necessary

[include reference/algorithms/correct.qbk]