envelope.qbk 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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__envelope.xml]
  12. [section:envelope_3_with_strategy envelope (with strategy)]
  13. '''<indexterm><primary>envelope</primary></indexterm>'''
  14. Calculates the envelope (with strategy) of a geometry.
  15. [heading Description]
  16. The free function envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry.
  17. [heading Synopsis]
  18. ``template<typename Geometry, typename Box, typename Strategy>
  19. void envelope(Geometry const & geometry, Box & mbr, Strategy const & strategy)``
  20. [heading Parameters]
  21. [table
  22. [[Type] [Concept] [Name] [Description] ]
  23. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  24. [[Box &] [Any type fulfilling a Box Concept ] [mbr] [A model of the specified Box Concept which is set to the envelope ]]
  25. [[Strategy const &] [Any type fulfilling a Envelope Strategy Concept ] [strategy] [The strategy which will be used for envelope calculations]]
  26. ]
  27. [heading Header]
  28. Either
  29. `#include <boost/geometry.hpp>`
  30. Or
  31. `#include <boost/geometry/algorithms/envelope.hpp>`
  32. [include reference/algorithms/envelope.qbk]
  33. [heading Example]
  34. [envelope] [envelope_output]
  35. [endsect]
  36. [section:envelope_2 envelope]
  37. '''<indexterm><primary>envelope</primary></indexterm>'''
  38. Calculates the envelope of a geometry.
  39. [heading Description]
  40. The free function envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry.
  41. [heading Synopsis]
  42. ``template<typename Geometry, typename Box>
  43. void envelope(Geometry const & geometry, Box & mbr)``
  44. [heading Parameters]
  45. [table
  46. [[Type] [Concept] [Name] [Description] ]
  47. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  48. [[Box &] [Any type fulfilling a Box Concept ] [mbr] [A model of the specified Box Concept which is set to the envelope]]
  49. ]
  50. [heading Header]
  51. Either
  52. `#include <boost/geometry.hpp>`
  53. Or
  54. `#include <boost/geometry/algorithms/envelope.hpp>`
  55. [include reference/algorithms/envelope.qbk]
  56. [heading Example]
  57. [envelope] [envelope_output]
  58. [endsect]
  59. [section:return_envelope_2_with_strategy return_envelope (with strategy)]
  60. '''<indexterm><primary>return_envelope</primary></indexterm>'''
  61. Calculates the envelope of a geometry.
  62. [heading Description]
  63. The free function return\u005fenvelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry. This version with the return\u005f prefix returns the envelope, and a template parameter must therefore be specified in the call.
  64. [heading Synopsis]
  65. ``template<typename Box, typename Geometry, typename Strategy>
  66. Box return_envelope(Geometry const & geometry, Strategy const & strategy)``
  67. [heading Parameters]
  68. [table
  69. [[Type] [Concept] [Name] [Description] ]
  70. [[Box] [Any type fulfilling a Box Concept ] [ - ] [Must be specified]]
  71. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  72. [[Strategy const &] [Any type fulfilling a Envelope Strategy Concept ] [strategy] [The strategy which will be used for envelope calculations ]]
  73. ]
  74. [heading Returns]
  75. The calculated envelope
  76. [heading Header]
  77. Either
  78. `#include <boost/geometry.hpp>`
  79. Or
  80. `#include <boost/geometry/algorithms/envelope.hpp>`
  81. [include reference/algorithms/envelope.qbk]
  82. [heading Example]
  83. [return_envelope] [return_envelope_output]
  84. [endsect]
  85. [section:return_envelope_1 return_envelope]
  86. '''<indexterm><primary>return_envelope</primary></indexterm>'''
  87. Calculates the envelope of a geometry.
  88. [heading Description]
  89. The free function return\u005fenvelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry. This version with the return\u005f prefix returns the envelope, and a template parameter must therefore be specified in the call.
  90. [heading Synopsis]
  91. ``template<typename Box, typename Geometry>
  92. Box return_envelope(Geometry const & geometry)``
  93. [heading Parameters]
  94. [table
  95. [[Type] [Concept] [Name] [Description] ]
  96. [[Box] [Any type fulfilling a Box Concept ] [ - ] [Must be specified]]
  97. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  98. ]
  99. [heading Returns]
  100. The calculated envelope
  101. [heading Header]
  102. Either
  103. `#include <boost/geometry.hpp>`
  104. Or
  105. `#include <boost/geometry/algorithms/envelope.hpp>`
  106. [include reference/algorithms/envelope.qbk]
  107. [heading Example]
  108. [return_envelope] [return_envelope_output]
  109. [endsect]