perimeter.qbk 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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__perimeter.xml]
  12. [section:perimeter_1 perimeter]
  13. '''<indexterm><primary>perimeter</primary></indexterm>'''
  14. Calculates the perimeter of a geometry.
  15. [heading Description]
  16. The function perimeter returns the perimeter of a geometry, using the default distance-calculation-strategy
  17. [heading Synopsis]
  18. ``template<typename Geometry>
  19. default_length_result<Geometry>::type perimeter(Geometry const & geometry)``
  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. ]
  25. [heading Returns]
  26. The calculated perimeter
  27. [heading Header]
  28. Either
  29. `#include <boost/geometry.hpp>`
  30. Or
  31. `#include <boost/geometry/algorithms/perimeter.hpp>`
  32. [include reference/algorithms/perimeter.qbk]
  33. [endsect]
  34. [section:perimeter_2_with_strategy perimeter (with strategy)]
  35. '''<indexterm><primary>perimeter</primary></indexterm>'''
  36. Calculates the perimeter of a geometry using the specified strategy.
  37. [heading Description]
  38. The function perimeter returns the perimeter of a geometry, using specified strategy
  39. [heading Synopsis]
  40. ``template<typename Geometry, typename Strategy>
  41. default_length_result<Geometry>::type perimeter(Geometry const & geometry, Strategy const & strategy)``
  42. [heading Parameters]
  43. [table
  44. [[Type] [Concept] [Name] [Description] ]
  45. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  46. [[Strategy const &] [Any type fulfilling a distance Strategy Concept ] [strategy] [strategy to be used for distance calculations. ]]
  47. ]
  48. [heading Returns]
  49. The calculated perimeter
  50. [heading Header]
  51. Either
  52. `#include <boost/geometry.hpp>`
  53. Or
  54. `#include <boost/geometry/algorithms/perimeter.hpp>`
  55. [include reference/algorithms/perimeter.qbk]
  56. [endsect]