box.qbk 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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/classboost_1_1geometry_1_1model_1_1box.xml]
  12. [section:model_box model::box]
  13. '''<indexterm><primary>model</primary></indexterm><indexterm><primary>box</primary></indexterm>'''
  14. Class box: defines a box made of two describing points.
  15. [heading Description]
  16. Box is always described by a min\u005fcorner() and a max\u005fcorner() point. If another rectangle is used, use linear\u005fring or polygon.
  17. [heading Model of]
  18. [link geometry.reference.concepts.concept_box Box Concept]
  19. [heading Synopsis]
  20. ``template<typename Point>
  21. class model::box
  22. {
  23. // ...
  24. };
  25. ``
  26. [heading Template parameter(s)]
  27. [table
  28. [[Parameter] [Description]]
  29. [[typename Point] [point type. The box takes a point type as template parameter. The point type can be any point type. It can be 2D but can also be 3D or more dimensional. The box can also take a latlong point type as template parameter.]]
  30. ]
  31. [heading Constructor(s)]
  32. [table
  33. [[Function] [Description] [Parameters] ]
  34. [[``box()``
  35. ] [Default constructor, no initialization. ] [
  36. ]]
  37. [[``box(Point const & min_corner, Point const & max_corner)``
  38. ] [Constructor taking the minimum corner point and the maximum corner point. ] [[* Point const &]: ['min_corner]:
  39. [* Point const &]: ['max_corner]:
  40. ]]
  41. ]
  42. [heading Member Function(s)]
  43. [table
  44. [[Function] [Description] [Parameters] [Returns]]
  45. [[``Point const & min_corner()``
  46. ] [] [
  47. ][
  48. ]
  49. ]
  50. [[``Point const & max_corner()``
  51. ] [] [
  52. ][
  53. ]
  54. ]
  55. [[``Point & min_corner()``
  56. ] [] [
  57. ][
  58. ]
  59. ]
  60. [[``Point & max_corner()``
  61. ] [] [
  62. ][
  63. ]
  64. ]
  65. ]
  66. [heading Header]
  67. Either
  68. `#include <boost/geometry/geometries/geometries.hpp>`
  69. Or
  70. `#include <boost/geometry/geometries/box.hpp>`
  71. [include reference/geometries/box.qbk]
  72. [endsect]