~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to libs/geometry/doc/reference/algorithms/unique.qbk

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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