make.qbk 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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__make.xml]
  12. [section:make_2_2_coordinate_values make (2 coordinate values)]
  13. '''<indexterm><primary>make</primary></indexterm>'''
  14. Construct a geometry.
  15. [heading Synopsis]
  16. ``template<typename Geometry, typename Type>
  17. Geometry make(Type const & c1, Type const & c2)``
  18. [heading Parameters]
  19. [table
  20. [[Type] [Concept] [Name] [Description] ]
  21. [[Geometry] [Any type fulfilling a Geometry Concept ] [ - ] [Must be specified]]
  22. [[Type const &] [numerical type (int, double, ttmath, ...) to specify the coordinates ] [c1] [First coordinate (usually x-coordinate) ]]
  23. [[Type const &] [numerical type (int, double, ttmath, ...) to specify the coordinates ] [c2] [Second coordinate (usually y-coordinate) ]]
  24. ]
  25. [heading Returns]
  26. The constructed geometry, here: a 2D point
  27. [heading Header]
  28. Either
  29. `#include <boost/geometry.hpp>`
  30. Or
  31. `#include <boost/geometry/algorithms/make.hpp>`
  32. [heading Example]
  33. [make_2d_point] [make_2d_point_output]
  34. [heading See also]
  35. * [link geometry.reference.algorithms.assign.assign_values_3_2_coordinate_values assign]
  36. [endsect]
  37. [section:make_3_3_coordinate_values make (3 coordinate values)]
  38. '''<indexterm><primary>make</primary></indexterm>'''
  39. Construct a geometry.
  40. [heading Synopsis]
  41. ``template<typename Geometry, typename Type>
  42. Geometry make(Type const & c1, Type const & c2, Type const & c3)``
  43. [heading Parameters]
  44. [table
  45. [[Type] [Concept] [Name] [Description] ]
  46. [[Geometry] [Any type fulfilling a Geometry Concept ] [ - ] [Must be specified]]
  47. [[Type const &] [numerical type (int, double, ttmath, ...) to specify the coordinates ] [c1] [First coordinate (usually x-coordinate) ]]
  48. [[Type const &] [numerical type (int, double, ttmath, ...) to specify the coordinates ] [c2] [Second coordinate (usually y-coordinate) ]]
  49. [[Type const &] [numerical type (int, double, ttmath, ...) to specify the coordinates ] [c3] [Third coordinate (usually z-coordinate) ]]
  50. ]
  51. [heading Returns]
  52. The constructed geometry, here: a 3D point
  53. [heading Header]
  54. Either
  55. `#include <boost/geometry.hpp>`
  56. Or
  57. `#include <boost/geometry/algorithms/make.hpp>`
  58. [heading Example]
  59. [make_3d_point] [make_3d_point_output]
  60. [heading See also]
  61. * [link geometry.reference.algorithms.assign.assign_values_4_3_coordinate_values assign]
  62. [endsect]
  63. [section:make_inverse make_inverse]
  64. '''<indexterm><primary>make_inverse</primary></indexterm>'''
  65. Construct a box with inverse infinite coordinates.
  66. [heading Description]
  67. The make\u005finverse function initializes a 2D or 3D box with large coordinates, the min corner is very large, the max corner is very small. This is useful e.g. in combination with the expand function, to determine the bounding box of a series of geometries.
  68. [heading Synopsis]
  69. ``template<typename Geometry>
  70. Geometry make_inverse()``
  71. [heading Parameters]
  72. [table
  73. [[Type] [Concept] [Name] [Description] ]
  74. [[Geometry] [Any type fulfilling a Geometry Concept ] [ - ] [Must be specified]]
  75. ]
  76. [heading Returns]
  77. The constructed geometry, here: a box
  78. [heading Header]
  79. Either
  80. `#include <boost/geometry.hpp>`
  81. Or
  82. `#include <boost/geometry/algorithms/make.hpp>`
  83. [heading Example]
  84. [make_inverse] [make_inverse_output]
  85. [heading See also]
  86. * [link geometry.reference.algorithms.assign.assign_inverse assign_inverse]
  87. [endsect]
  88. [section:make_zero make_zero]
  89. '''<indexterm><primary>make_zero</primary></indexterm>'''
  90. Construct a geometry with its coordinates initialized to zero.
  91. [heading Description]
  92. The make\u005fzero function initializes a 2D or 3D point or box with coordinates of zero
  93. [heading Synopsis]
  94. ``template<typename Geometry>
  95. Geometry make_zero()``
  96. [heading Parameters]
  97. [table
  98. [[Type] [Concept] [Name] [Description] ]
  99. [[Geometry] [Any type fulfilling a Geometry Concept ] [ - ] [Must be specified]]
  100. ]
  101. [heading Returns]
  102. The constructed and zero-initialized geometry
  103. [heading Header]
  104. Either
  105. `#include <boost/geometry.hpp>`
  106. Or
  107. `#include <boost/geometry/algorithms/make.hpp>`
  108. [endsect]