unique.qbk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
  5. Copyright (c) 2009-2012 Bruno Lalande, Paris, France.
  6. Use, modification and distribution is subject to the Boost Software License,
  7. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. http://www.boost.org/LICENSE_1_0.txt)
  9. =============================================================================/]
  10. [def __applies_unique__ Removes all consecutive duplicate points]
  11. [def __this_function__ unique]
  12. [heading_conformance_no_ogc __this_function__]
  13. [conformance_std __this_function__..std::__this_function__ function]
  14. [heading Behavior]
  15. [table
  16. [[Case] [Behavior] ]
  17. [[__point__][__does_nothing__]]
  18. [[__segment__][__does_nothing__]]
  19. [[__box__][__does_nothing__]]
  20. [[__linestring__][__applies_unique__]]
  21. [[__ring__][__applies_unique__]]
  22. [[__polygon__][__applies_unique__ in all rings]]
  23. [[__multi_point__][__does_nothing__. Even if two equal points happen to be stored consecutively, they are kept]]
  24. [[__multi_linestring__][__applies_unique__ in all contained linestrings]]
  25. [[__multi_polygon__][__applies_unique__ in all contained polygons (all rings)]]
  26. ]
  27. [heading Complexity]
  28. Linear
  29. [heading Example]
  30. [unique]
  31. [unique_output]