intersects.qbk 3.4 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__intersects.xml]
  12. [section:intersects_1_one_geometry intersects (one geometry)]
  13. '''<indexterm><primary>intersects</primary></indexterm>'''
  14. Checks if a geometry has at least one intersection (crossing or self-tangency)
  15. [heading Synopsis]
  16. ``template<typename Geometry>
  17. bool intersects(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-intersecting
  25. [heading Header]
  26. Either
  27. `#include <boost/geometry.hpp>`
  28. Or
  29. `#include <boost/geometry/algorithms/intersects.hpp>`
  30. [def __one_parameter__]
  31. [include reference/algorithms/intersects.qbk]
  32. [endsect]
  33. [section:intersects_3_with_strategy intersects (with strategy)]
  34. '''<indexterm><primary>intersects</primary></indexterm>'''
  35. Checks if two geometries have at least one intersection.
  36. [heading Synopsis]
  37. ``template<typename Geometry1, typename Geometry2, typename Strategy>
  38. bool intersects(Geometry1 const & geometry1, Geometry2 const & geometry2, Strategy const & strategy)``
  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. [[Strategy const &] [Any type fulfilling a Intersects Strategy Concept ] [strategy] [The strategy which will be used for intersects calculations ]]
  45. ]
  46. [heading Returns]
  47. Returns true if two geometries intersect each other
  48. [heading Header]
  49. Either
  50. `#include <boost/geometry.hpp>`
  51. Or
  52. `#include <boost/geometry/algorithms/intersects.hpp>`
  53. [include reference/algorithms/intersects.qbk]
  54. [endsect]
  55. [section:intersects_2_two_geometries intersects (two geometries)]
  56. '''<indexterm><primary>intersects</primary></indexterm>'''
  57. Checks if two geometries have at least one intersection.
  58. [heading Synopsis]
  59. ``template<typename Geometry1, typename Geometry2>
  60. bool intersects(Geometry1 const & geometry1, Geometry2 const & geometry2)``
  61. [heading Parameters]
  62. [table
  63. [[Type] [Concept] [Name] [Description] ]
  64. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  65. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  66. ]
  67. [heading Returns]
  68. Returns true if two geometries intersect each other
  69. [heading Header]
  70. Either
  71. `#include <boost/geometry.hpp>`
  72. Or
  73. `#include <boost/geometry/algorithms/intersects.hpp>`
  74. [include reference/algorithms/intersects.qbk]
  75. [endsect]