1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2009-2012 Mateusz Loskot, London, UK. 6 Copyright (c) 2009-2012 Bruno Lalande, Paris, France. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13[def __this_function__ reverse] 14 15[heading_conformance_no_ogc __this_function__] 16[conformance_std __this_function__..std::__this_function__ function] 17 18[heading Behavior] 19[table 20[[Case] [Behavior] ] 21[[__point__][__does_nothing__]] 22[[__segment__][__nyiversion__]] 23[[__box__][__does_nothing__]] 24[[__linestring__][Reverses the __linestring__]] 25[[__ring__][Reverses the __ring__]] 26[[__polygon__][Reverses the exterior ring and all interior rings in the polygon]] 27[[__multi_point__][__does_nothing__]] 28[[__multi_linestring__][Reverses all contained linestrings individually]] 29[[__multi_polygon__][Reverses all contained polygons individually]] 30] 31 32[note The reverse of a (multi)polygon or ring might make a valid geometry invalid because the (counter)clockwise orientation reverses.] 33 34[heading Complexity] 35Linear 36 37[heading Example] 38[reverse] 39[reverse_output] 40 41