covered_by.qbk 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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__covered__by.xml]
  12. [section:covered_by_2 covered_by]
  13. '''<indexterm><primary>covered_by</primary></indexterm>'''
  14. Checks if the first geometry is inside or on border the second geometry.
  15. [heading Description]
  16. The free function covered\u005fby checks if the first geometry is inside or on border the second geometry.
  17. [heading Synopsis]
  18. ``template<typename Geometry1, typename Geometry2>
  19. bool covered_by(Geometry1 const & geometry1, Geometry2 const & geometry2)``
  20. [heading Parameters]
  21. [table
  22. [[Type] [Concept] [Name] [Description] ]
  23. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept which might be inside or on the border of the second geometry ]]
  24. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept which might cover the first geometry ]]
  25. ]
  26. [heading Returns]
  27. true if geometry1 is inside of or on the border of geometry2, else false
  28. [heading Header]
  29. Either
  30. `#include <boost/geometry.hpp>`
  31. Or
  32. `#include <boost/geometry/algorithms/covered_by.hpp>`
  33. [include reference/algorithms/covered_by.qbk]
  34. [endsect]
  35. [section:covered_by_3_with_strategy covered_by (with strategy)]
  36. '''<indexterm><primary>covered_by</primary></indexterm>'''
  37. Checks if the first geometry is inside or on border the second geometry using the specified strategy.
  38. [heading Description]
  39. The free function covered\u005fby checks if the first geometry is inside or on border the second geometry, using the specified strategy. Reasons to specify a strategy include: use another coordinate system for calculations; construct the strategy beforehand (e.g. with the radius of the Earth); select a strategy when there are more than one available for a calculation.
  40. [heading Synopsis]
  41. ``template<typename Geometry1, typename Geometry2, typename Strategy>
  42. bool covered_by(Geometry1 const & geometry1, Geometry2 const & geometry2, Strategy const & strategy)``
  43. [heading Parameters]
  44. [table
  45. [[Type] [Concept] [Name] [Description] ]
  46. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept which might be inside or on the border of the second geometry ]]
  47. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept which might cover the first geometry ]]
  48. [[Strategy const &] [] [strategy] [strategy to be used ]]
  49. ]
  50. [heading Returns]
  51. true if geometry1 is inside of or on the border of geometry2, else false
  52. [heading Header]
  53. Either
  54. `#include <boost/geometry.hpp>`
  55. Or
  56. `#include <boost/geometry/algorithms/covered_by.hpp>`
  57. [include reference/algorithms/covered_by.qbk]
  58. [endsect]