correct.qbk 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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__correct.xml]
  12. [section:correct_1 correct]
  13. '''<indexterm><primary>correct</primary></indexterm>'''
  14. Corrects a geometry.
  15. [heading Description]
  16. Corrects a geometry: all rings which are wrongly oriented with respect to their expected orientation are reversed. To all rings which do not have a closing point and are typed as they should have one, the first point is appended. Also boxes can be corrected.
  17. [heading Synopsis]
  18. ``template<typename Geometry>
  19. void correct(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 corrected if necessary]]
  24. ]
  25. [heading Header]
  26. Either
  27. `#include <boost/geometry.hpp>`
  28. Or
  29. `#include <boost/geometry/algorithms/correct.hpp>`
  30. [include reference/algorithms/correct.qbk]
  31. [endsect]
  32. [section:correct_2_with_strategy correct (with strategy)]
  33. '''<indexterm><primary>correct</primary></indexterm>'''
  34. Corrects a geometry.
  35. [heading Description]
  36. Corrects a geometry: all rings which are wrongly oriented with respect to their expected orientation are reversed. To all rings which do not have a closing point and are typed as they should have one, the first point is appended. Also boxes can be corrected.
  37. [heading Synopsis]
  38. ``template<typename Geometry, typename Strategy>
  39. void correct(Geometry & geometry, Strategy const & strategy)``
  40. [heading Parameters]
  41. [table
  42. [[Type] [Concept] [Name] [Description] ]
  43. [[Geometry &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept which will be corrected if necessary ]]
  44. [[Strategy const &] [Any type fulfilling a Area Strategy Concept ] [strategy] [The strategy which will be used for area calculations]]
  45. ]
  46. [heading Header]
  47. Either
  48. `#include <boost/geometry.hpp>`
  49. Or
  50. `#include <boost/geometry/algorithms/correct.hpp>`
  51. [include reference/algorithms/correct.qbk]
  52. [endsect]