]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/doc/reference/algorithms/unique.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / doc / reference / algorithms / unique.qbk
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 __applies_unique__ Removes all consecutive duplicate points]
14 [def __this_function__ unique]
15
16 [heading_conformance_no_ogc __this_function__]
17 [conformance_std __this_function__..std::__this_function__ function]
18
19 [heading Behavior]
20 [table
21 [[Case] [Behavior] ]
22 [[__point__][__does_nothing__]]
23 [[__segment__][__does_nothing__]]
24 [[__box__][__does_nothing__]]
25 [[__linestring__][__applies_unique__]]
26 [[__ring__][__applies_unique__]]
27 [[__polygon__][__applies_unique__ in all rings]]
28 [[__multi_point__][__does_nothing__. Even if two equal points happen to be stored consecutively, they are kept]]
29 [[__multi_linestring__][__applies_unique__ in all contained linestrings]]
30 [[__multi_polygon__][__applies_unique__ in all contained polygons (all rings)]]
31 ]
32
33 [heading Complexity]
34 Linear
35
36 [heading Example]
37 [unique]
38 [unique_output]
39