reverse

# reverse: reverse a geometry

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

Reverses the points within a geometry.

Generic function to reverse a geometry. It resembles the std::reverse functionality, but it takes the geometry type into account. Only for a ring or for a linestring it is the same as the std::reverse.

Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept which will be reversed

[include reference/algorithms/reverse.qbk]