touches.qbk 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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__touches.xml]
  12. [section:touches_1_one_geometry touches (one geometry)]
  13. '''<indexterm><primary>touches</primary></indexterm>'''
  14. Checks if a geometry has at least one touching point (self-tangency)
  15. [heading Synopsis]
  16. ``template<typename Geometry>
  17. bool touches(Geometry const & geometry)``
  18. [heading Parameters]
  19. [table
  20. [[Type] [Concept] [Name] [Description] ]
  21. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
  22. ]
  23. [heading Returns]
  24. Returns true if the geometry is self-touching
  25. [heading Header]
  26. Either
  27. `#include <boost/geometry.hpp>`
  28. Or
  29. `#include <boost/geometry/algorithms/touches.hpp>`
  30. [def __one_parameter__]
  31. [include reference/algorithms/touches.qbk]
  32. [endsect]
  33. [section:touches_2_two_geometries touches (two geometries)]
  34. '''<indexterm><primary>touches</primary></indexterm>'''
  35. Checks if two geometries have at least one touching point (tangent - non overlapping)
  36. [heading Synopsis]
  37. ``template<typename Geometry1, typename Geometry2>
  38. bool touches(Geometry1 const & geometry1, Geometry2 const & geometry2)``
  39. [heading Parameters]
  40. [table
  41. [[Type] [Concept] [Name] [Description] ]
  42. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  43. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  44. ]
  45. [heading Returns]
  46. Returns true if two geometries touch each other
  47. [heading Header]
  48. Either
  49. `#include <boost/geometry.hpp>`
  50. Or
  51. `#include <boost/geometry/algorithms/touches.hpp>`
  52. [include reference/algorithms/touches.qbk]
  53. [endsect]
  54. [section:touches_3_with_strategy touches (with strategy)]
  55. '''<indexterm><primary>touches</primary></indexterm>'''
  56. Checks if two geometries have at least one touching point (tangent - non overlapping)
  57. [heading Synopsis]
  58. ``template<typename Geometry1, typename Geometry2, typename Strategy>
  59. bool touches(Geometry1 const & geometry1, Geometry2 const & geometry2, Strategy const & strategy)``
  60. [heading Parameters]
  61. [table
  62. [[Type] [Concept] [Name] [Description] ]
  63. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  64. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  65. [[Strategy const &] [Any type fulfilling a Touches Strategy Concept ] [strategy] [The strategy which will be used for touches calculations ]]
  66. ]
  67. [heading Returns]
  68. Returns true if two geometries touch each other
  69. [heading Header]
  70. Either
  71. `#include <boost/geometry.hpp>`
  72. Or
  73. `#include <boost/geometry/algorithms/touches.hpp>`
  74. [include reference/algorithms/touches.qbk]
  75. [endsect]