unique.qbk 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  5. Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
  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. [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
  11. [/ Generated from doxy/doxygen_output/xml/group__unique.xml]
  12. [section:unique unique]
  13. '''<indexterm><primary>unique</primary></indexterm>'''
  14. Calculates the minimal set of a geometry.
  15. [heading Description]
  16. The free function unique calculates the minimal set (where duplicate consecutive points are removed) of a geometry.
  17. [heading Synopsis]
  18. ``template<typename Geometry>
  19. void unique(Geometry & geometry)``
  20. [heading Parameters]
  21. [table
  22. [[Type] [Concept] [Name] [Description] ]
  23. [[Geometry &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept which will be made unique]]
  24. ]
  25. [heading Header]
  26. Either
  27. `#include <boost/geometry.hpp>`
  28. Or
  29. `#include <boost/geometry/algorithms/unique.hpp>`
  30. [include reference/algorithms/unique.qbk]
  31. [endsect]