box_view.qbk 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/structboost_1_1geometry_1_1box__view.xml]
  12. [section:box_view box_view]
  13. '''<indexterm><primary>box_view</primary></indexterm>'''
  14. Makes a box behave like a ring or a range.
  15. [heading Description]
  16. Adapts a box to the Boost.Range concept, enabling the user to iterating box corners. The box\u005fview is registered as a Ring Concept
  17. [heading Model of]
  18. [link geometry.reference.concepts.concept_ring Ring Concept]
  19. [heading Synopsis]
  20. ``template<typename Box, bool Clockwise>
  21. struct box_view
  22. : public detail::points_view< geometry::point_type< Box >::type, 5 >
  23. {
  24. // ...
  25. };
  26. ``
  27. [heading Template parameter(s)]
  28. [table
  29. [[Parameter] [Default] [Description]]
  30. [[typename Box] [] [A type fulfilling the Box Concept ]]
  31. [[bool Clockwise] [true] [If true, walks in clockwise direction, otherwise it walks in counterclockwise direction]]
  32. ]
  33. [heading Constructor(s)]
  34. [table
  35. [[Function] [Description] [Parameters] ]
  36. [[``box_view(Box const & box)``
  37. ] [Constructor accepting the box to adapt. ] [[* Box const &]: ['box]:
  38. ]]
  39. ]
  40. [heading Header]
  41. Either
  42. `#include <boost/geometry.hpp>`
  43. Or
  44. `#include <boost/geometry/views/box_view.hpp>`
  45. [include reference/views/box_view.qbk]
  46. [endsect]