register.qbk 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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__register.xml]
  12. [section:boost_geometry_register_box BOOST_GEOMETRY_REGISTER_BOX]
  13. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_BOX</primary></indexterm>'''
  14. Macro to register a box.
  15. [heading Description]
  16. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fBOX registers a box such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The box may contain template parameters, which must be specified then.
  17. [heading Synopsis]
  18. ``#define BOOST_GEOMETRY_REGISTER_BOX(Box, Point, MinCorner,
  19. MaxCorner)``
  20. [heading Parameters]
  21. [table
  22. [[Name] [Description] ]
  23. [[Box] [Box type to be registered ]]
  24. [[Point] [Point type on which box is based. Might be two or three-dimensional ]]
  25. [[MinCorner] [minimum corner (should be public member or method) ]]
  26. [[MaxCorner] [maximum corner (should be public member or method)]]
  27. ]
  28. [heading Header]
  29. `#include <boost/geometry/geometries/register/box.hpp>`
  30. [heading Example]
  31. [register_box]
  32. [register_box_output]
  33. [endsect]
  34. [section:boost_geometry_register_box_2d_4values BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUES]
  35. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUES</primary></indexterm>'''
  36. Macro to register a box.
  37. [heading Description]
  38. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fBOX\u005f2D\u005f4VALUES registers a box such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.
  39. [heading Synopsis]
  40. ``#define BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUES(Box, Point, Left,
  41. Bottom, Right, Top)``
  42. [heading Parameters]
  43. [table
  44. [[Name] [Description] ]
  45. [[Box] [Box type to be registered ]]
  46. [[Point] [Point type reported as point_type by box. Must be two dimensional. Note that these box tyeps do not contain points, but they must have a related point_type ]]
  47. [[Left] [Left side (must be public member or method) ]]
  48. [[Bottom] [Bottom side (must be public member or method) ]]
  49. [[Right] [Right side (must be public member or method) ]]
  50. [[Top] [Top side (must be public member or method)]]
  51. ]
  52. [heading Header]
  53. `#include <boost/geometry/geometries/register/box.hpp>`
  54. [heading Example]
  55. [register_box_2d_4values]
  56. [register_box_2d_4values_output]
  57. [endsect]
  58. [section:boost_geometry_register_box_templated BOOST_GEOMETRY_REGISTER_BOX_TEMPLATED]
  59. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_BOX_TEMPLATED</primary></indexterm>'''
  60. Macro to register a box.
  61. [heading Description]
  62. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fBOX\u005fTEMPLATED registers a box such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a point type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated box are registered, regardless of their point type.
  63. [heading Synopsis]
  64. ``#define BOOST_GEOMETRY_REGISTER_BOX_TEMPLATED(Box, MinCorner, MaxCorner)``
  65. [heading Parameters]
  66. [table
  67. [[Name] [Description] ]
  68. [[Box] [Box type to be registered ]]
  69. [[MinCorner] [minimum corner (should be public member or method) ]]
  70. [[MaxCorner] [maximum corner (should be public member or method)]]
  71. ]
  72. [heading Header]
  73. `#include <boost/geometry/geometries/register/box.hpp>`
  74. [heading Example]
  75. [register_box_templated]
  76. [register_box_templated_output]
  77. [endsect]
  78. [section:boost_geometry_register_linestring BOOST_GEOMETRY_REGISTER_LINESTRING]
  79. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_LINESTRING</primary></indexterm>'''
  80. Macro to register a linestring.
  81. [heading Description]
  82. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fLINESTRING registers a linestring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The linestring may contain template parameters, which must be specified then.
  83. [heading Synopsis]
  84. ``#define BOOST_GEOMETRY_REGISTER_LINESTRING(Linestring)``
  85. [heading Parameters]
  86. [table
  87. [[Name] [Description] ]
  88. [[Linestring] [linestring type to be registered]]
  89. ]
  90. [heading Header]
  91. `#include <boost/geometry/geometries/register/linestring.hpp>`
  92. [heading Example]
  93. [register_linestring]
  94. [register_linestring_output]
  95. [endsect]
  96. [section:boost_geometry_register_linestring_templated BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED]
  97. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED</primary></indexterm>'''
  98. Macro to register a templated linestring.
  99. [heading Description]
  100. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fLINESTRING\u005fTEMPLATED registers a templated linestring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a point type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated linestring are registered, regardless of their point type.
  101. [heading Synopsis]
  102. ``#define BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED(Linestring)``
  103. [heading Parameters]
  104. [table
  105. [[Name] [Description] ]
  106. [[Linestring] [linestring (without template parameters) type to be registered]]
  107. ]
  108. [heading Header]
  109. `#include <boost/geometry/geometries/register/linestring.hpp>`
  110. [heading Example]
  111. [register_linestring_templated]
  112. [register_linestring_templated_output]
  113. [endsect]
  114. [section:boost_geometry_register_multi_linestring BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING]
  115. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING</primary></indexterm>'''
  116. Macro to register a multi\u005flinestring.
  117. [heading Description]
  118. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fLINESTRING registers a multi\u005flinestring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The multi\u005flinestring may contain template parameters, which must be specified then.
  119. [heading Synopsis]
  120. ``#define BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING(MultiLineString)``
  121. [heading Parameters]
  122. [table
  123. [[Name] [Description] ]
  124. [[MultiLineString] [multi_linestring type to be registered]]
  125. ]
  126. [heading Header]
  127. `#include <boost/geometry/geometries/register/multi_linestring.hpp>`
  128. [heading Example]
  129. [register_multi_linestring]
  130. [register_multi_linestring_output]
  131. [endsect]
  132. [section:boost_geometry_register_multi_linestring_templated BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING_TEMPLATED]
  133. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING_TEMPLATED</primary></indexterm>'''
  134. Macro to register a templated multi\u005flinestring.
  135. [heading Description]
  136. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fLINESTRING\u005fTEMPLATED registers a templated multi\u005flinestring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a linestring type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated multi\u005flinestring are registered, regardless of their point type.
  137. [heading Synopsis]
  138. ``#define BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING_TEMPLATED(MultiLineString)``
  139. [heading Parameters]
  140. [table
  141. [[Name] [Description] ]
  142. [[MultiLineString] [multi_linestring (without template parameters) type to be registered]]
  143. ]
  144. [heading Header]
  145. `#include <boost/geometry/geometries/register/multi_linestring.hpp>`
  146. [heading Example]
  147. [register_multi_linestring_templated]
  148. [register_multi_linestring_templated_output]
  149. [endsect]
  150. [section:boost_geometry_register_multi_point BOOST_GEOMETRY_REGISTER_MULTI_POINT]
  151. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_POINT</primary></indexterm>'''
  152. Macro to register a multi\u005fpoint.
  153. [heading Description]
  154. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fPOINT registers a multi\u005fpoint such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The multi\u005fpoint may contain template parameters, which must be specified then.
  155. [heading Synopsis]
  156. ``#define BOOST_GEOMETRY_REGISTER_MULTI_POINT(MultiPoint)``
  157. [heading Parameters]
  158. [table
  159. [[Name] [Description] ]
  160. [[MultiPoint] [multi_point type to be registered]]
  161. ]
  162. [heading Header]
  163. `#include <boost/geometry/geometries/register/multi_point.hpp>`
  164. [heading Example]
  165. [register_multi_point]
  166. [register_multi_point_output]
  167. [endsect]
  168. [section:boost_geometry_register_multi_point_templated BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED]
  169. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED</primary></indexterm>'''
  170. Macro to register a templated multi\u005fpoint.
  171. [heading Description]
  172. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fPOINT\u005fTEMPLATED registers a templated multi\u005fpoint such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a point type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated multi\u005fpoint are registered, regardless of their point type.
  173. [heading Synopsis]
  174. ``#define BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED(MultiPoint)``
  175. [heading Parameters]
  176. [table
  177. [[Name] [Description] ]
  178. [[MultiPoint] [multi_point (without template parameters) type to be registered]]
  179. ]
  180. [heading Header]
  181. `#include <boost/geometry/geometries/register/multi_point.hpp>`
  182. [heading Example]
  183. [register_multi_point_templated]
  184. [register_multi_point_templated_output]
  185. [endsect]
  186. [section:boost_geometry_register_multi_polygon BOOST_GEOMETRY_REGISTER_MULTI_POLYGON]
  187. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_POLYGON</primary></indexterm>'''
  188. Macro to register a multi\u005fpolygon.
  189. [heading Description]
  190. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fPOLYGON registers a multi\u005fpolygon such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The multi\u005fpolygon may contain template parameters, which must be specified then.
  191. [heading Synopsis]
  192. ``#define BOOST_GEOMETRY_REGISTER_MULTI_POLYGON(MultiPolygon)``
  193. [heading Parameters]
  194. [table
  195. [[Name] [Description] ]
  196. [[MultiPolygon] [multi_polygon type to be registered]]
  197. ]
  198. [heading Header]
  199. `#include <boost/geometry/geometries/register/multi_polygon.hpp>`
  200. [heading Example]
  201. [register_multi_polygon]
  202. [register_multi_polygon_output]
  203. [endsect]
  204. [section:boost_geometry_register_multi_polygon_templated BOOST_GEOMETRY_REGISTER_MULTI_POLYGON_TEMPLATED]
  205. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_MULTI_POLYGON_TEMPLATED</primary></indexterm>'''
  206. Macro to register a templated multi\u005fpolygon.
  207. [heading Description]
  208. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fMULTI\u005fPOLYGON\u005fTEMPLATED registers a templated multi\u005fpolygon such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a polygon type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated multi\u005fpolygon are registered, regardless of their point type.
  209. [heading Synopsis]
  210. ``#define BOOST_GEOMETRY_REGISTER_MULTI_POLYGON_TEMPLATED(MultiPolygon)``
  211. [heading Parameters]
  212. [table
  213. [[Name] [Description] ]
  214. [[MultiPolygon] [multi_polygon (without template parameters) type to be registered]]
  215. ]
  216. [heading Header]
  217. `#include <boost/geometry/geometries/register/multi_polygon.hpp>`
  218. [heading Example]
  219. [register_multi_polygon_templated]
  220. [register_multi_polygon_templated_output]
  221. [endsect]
  222. [section:boost_geometry_register_point_2d BOOST_GEOMETRY_REGISTER_POINT_2D]
  223. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_2D</primary></indexterm>'''
  224. Macro to register a 2D point type.
  225. [heading Description]
  226. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f2D registers a two-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.
  227. [heading Synopsis]
  228. ``#define BOOST_GEOMETRY_REGISTER_POINT_2D(Point, CoordinateType, CoordinateSystem,
  229. Field0, Field1)``
  230. [heading Parameters]
  231. [table
  232. [[Name] [Description] ]
  233. [[Point] [Point type to be registered ]]
  234. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  235. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  236. [[Field0] [Member containing first (usually x) coordinate ]]
  237. [[Field1] [Member containing second (usually y) coordinate]]
  238. ]
  239. [heading Header]
  240. `#include <boost/geometry/geometries/register/point.hpp>`
  241. [include reference/geometries/register/point.qbk]
  242. [endsect]
  243. [section:boost_geometry_register_point_2d_const BOOST_GEOMETRY_REGISTER_POINT_2D_CONST]
  244. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_2D_CONST</primary></indexterm>'''
  245. Macro to register a 2D point type (const version)
  246. [heading Description]
  247. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f2D\u005fCONST registers a two-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.. The const version registers only read access to the fields, the point type is therefore read-only
  248. [heading Synopsis]
  249. ``#define BOOST_GEOMETRY_REGISTER_POINT_2D_CONST(Point, CoordinateType, CoordinateSystem,
  250. Field0, Field1)``
  251. [heading Parameters]
  252. [table
  253. [[Name] [Description] ]
  254. [[Point] [Point type to be registered ]]
  255. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  256. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  257. [[Field0] [Member containing first (usually x) coordinate ]]
  258. [[Field1] [Member containing second (usually y) coordinate ]]
  259. ]
  260. [heading Header]
  261. `#include <boost/geometry/geometries/register/point.hpp>`
  262. [endsect]
  263. [section:boost_geometry_register_point_2d_get_set BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET]
  264. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET</primary></indexterm>'''
  265. Macro to register a 2D point type (having separate get/set methods)
  266. [heading Description]
  267. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f2D\u005fGET\u005fSET registers a two-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.. The get/set version registers get and set methods separately and can be used for classes with protected member variables and get/set methods to change coordinates
  268. [heading Synopsis]
  269. ``#define BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET(Point, CoordinateType, CoordinateSystem,
  270. Get0, Get1, Set0,
  271. Set1)``
  272. [heading Parameters]
  273. [table
  274. [[Name] [Description] ]
  275. [[Point] [Point type to be registered ]]
  276. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  277. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  278. [[Get0] [Method to get the first (usually x) coordinate ]]
  279. [[Get1] [Method to get the second (usually y) coordinate ]]
  280. [[Set0] [Method to set the first (usually x) coordinate ]]
  281. [[Set1] [Method to set the second (usually y) coordinate ]]
  282. ]
  283. [heading Header]
  284. `#include <boost/geometry/geometries/register/point.hpp>`
  285. [endsect]
  286. [section:boost_geometry_register_point_3d BOOST_GEOMETRY_REGISTER_POINT_3D]
  287. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_3D</primary></indexterm>'''
  288. Macro to register a 3D point type.
  289. [heading Description]
  290. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f3D registers a three-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.
  291. [heading Synopsis]
  292. ``#define BOOST_GEOMETRY_REGISTER_POINT_3D(Point, CoordinateType, CoordinateSystem,
  293. Field0, Field1, Field2)``
  294. [heading Parameters]
  295. [table
  296. [[Name] [Description] ]
  297. [[Point] [Point type to be registered ]]
  298. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  299. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  300. [[Field0] [Member containing first (usually x) coordinate ]]
  301. [[Field1] [Member containing second (usually y) coordinate ]]
  302. [[Field2] [Member containing third (usually z) coordinate ]]
  303. ]
  304. [heading Header]
  305. `#include <boost/geometry/geometries/register/point.hpp>`
  306. [endsect]
  307. [section:boost_geometry_register_point_3d_const BOOST_GEOMETRY_REGISTER_POINT_3D_CONST]
  308. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_3D_CONST</primary></indexterm>'''
  309. Macro to register a 3D point type (const version)
  310. [heading Description]
  311. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f3D\u005fCONST registers a three-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.. The const version registers only read access to the fields, the point type is therefore read-only
  312. [heading Synopsis]
  313. ``#define BOOST_GEOMETRY_REGISTER_POINT_3D_CONST(Point, CoordinateType, CoordinateSystem,
  314. Field0, Field1, Field2)``
  315. [heading Parameters]
  316. [table
  317. [[Name] [Description] ]
  318. [[Point] [Point type to be registered ]]
  319. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  320. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  321. [[Field0] [Member containing first (usually x) coordinate ]]
  322. [[Field1] [Member containing second (usually y) coordinate ]]
  323. [[Field2] [Member containing third (usually z) coordinate ]]
  324. ]
  325. [heading Header]
  326. `#include <boost/geometry/geometries/register/point.hpp>`
  327. [endsect]
  328. [section:boost_geometry_register_point_3d_get_set BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET]
  329. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET</primary></indexterm>'''
  330. Macro to register a 3D point type (having separate get/set methods)
  331. [heading Description]
  332. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fPOINT\u005f3D\u005fGET\u005fSET registers a three-dimensional point type such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type.. The get/set version registers get and set methods separately and can be used for classes with protected member variables and get/set methods to change coordinates
  333. [heading Synopsis]
  334. ``#define BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET(Point, CoordinateType, CoordinateSystem,
  335. Get0, Get1, Get2,
  336. Set0, Set1, Set2)``
  337. [heading Parameters]
  338. [table
  339. [[Name] [Description] ]
  340. [[Point] [Point type to be registered ]]
  341. [[CoordinateType] [Type of the coordinates of the point (e.g. double) ]]
  342. [[CoordinateSystem] [Coordinate system (e.g. cs::cartesian) ]]
  343. [[Get0] [Method to get the first (usually x) coordinate ]]
  344. [[Get1] [Method to get the second (usually y) coordinate ]]
  345. [[Get2] [Method to get the third (usually z) coordinate ]]
  346. [[Set0] [Method to set the first (usually x) coordinate ]]
  347. [[Set1] [Method to set the second (usually y) coordinate ]]
  348. [[Set2] [Method to set the third (usually z) coordinate ]]
  349. ]
  350. [heading Header]
  351. `#include <boost/geometry/geometries/register/point.hpp>`
  352. [endsect]
  353. [section:boost_geometry_register_ring BOOST_GEOMETRY_REGISTER_RING]
  354. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_RING</primary></indexterm>'''
  355. Macro to register a ring.
  356. [heading Description]
  357. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fRING registers a ring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The ring may contain template parameters, which must be specified then.
  358. [heading Synopsis]
  359. ``#define BOOST_GEOMETRY_REGISTER_RING(Ring)``
  360. [heading Parameters]
  361. [table
  362. [[Name] [Description] ]
  363. [[Ring] [ring type to be registered]]
  364. ]
  365. [heading Header]
  366. `#include <boost/geometry/geometries/register/ring.hpp>`
  367. [heading Example]
  368. [register_ring]
  369. [register_ring_output]
  370. [endsect]
  371. [section:boost_geometry_register_ring_templated BOOST_GEOMETRY_REGISTER_RING_TEMPLATED]
  372. '''<indexterm><primary>BOOST_GEOMETRY_REGISTER_RING_TEMPLATED</primary></indexterm>'''
  373. Macro to register a templated ring.
  374. [heading Description]
  375. The macro BOOST\u005fGEOMETRY\u005fREGISTER\u005fRING\u005fTEMPLATED registers a templated ring such that it is recognized by Boost.Geometry and that Boost.Geometry functionality can used with the specified type. The type must have one template parameter, which should be a point type, and should not be specified. Boost.Geometry takes care of inserting the template parameter. Hence all types of this templated ring are registered, regardless of their point type.
  376. [heading Synopsis]
  377. ``#define BOOST_GEOMETRY_REGISTER_RING_TEMPLATED(Ring)``
  378. [heading Parameters]
  379. [table
  380. [[Name] [Description] ]
  381. [[Ring] [ring (without template parameters) type to be registered]]
  382. ]
  383. [heading Header]
  384. `#include <boost/geometry/geometries/register/ring.hpp>`
  385. [heading Example]
  386. [register_ring_templated]
  387. [register_ring_templated_output]
  388. [endsect]