relate.qbk 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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__relate.xml]
  12. [section:relate_4_with_strategy relate (with strategy)]
  13. '''<indexterm><primary>relate</primary></indexterm>'''
  14. Checks relation between a pair of geometries defined by a mask.
  15. [heading Synopsis]
  16. ``template<typename Geometry1, typename Geometry2, typename Mask, typename Strategy>
  17. bool relate(Geometry1 const & geometry1, Geometry2 const & geometry2, Mask const & mask,
  18. Strategy const & strategy)``
  19. [heading Parameters]
  20. [table
  21. [[Type] [Concept] [Name] [Description] ]
  22. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  23. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  24. [[Mask const &] [An intersection model Mask type. ] [mask] [An intersection model mask object. ]]
  25. [[Strategy const &] [Any type fulfilling a Relate Strategy Concept ] [strategy] [The strategy which will be used for relate calculations ]]
  26. ]
  27. [heading Returns]
  28. true if the relation is compatible with the mask, false otherwise.
  29. [heading Header]
  30. Either
  31. `#include <boost/geometry.hpp>`
  32. Or
  33. `#include <boost/geometry/algorithms/relate.hpp>`
  34. [include reference/algorithms/relate.qbk]
  35. [endsect]
  36. [section:relate_3 relate]
  37. '''<indexterm><primary>relate</primary></indexterm>'''
  38. Checks relation between a pair of geometries defined by a mask.
  39. [heading Synopsis]
  40. ``template<typename Geometry1, typename Geometry2, typename Mask>
  41. bool relate(Geometry1 const & geometry1, Geometry2 const & geometry2, Mask const & mask)``
  42. [heading Parameters]
  43. [table
  44. [[Type] [Concept] [Name] [Description] ]
  45. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  46. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  47. [[Mask const &] [An intersection model Mask type. ] [mask] [An intersection model mask object. ]]
  48. ]
  49. [heading Returns]
  50. true if the relation is compatible with the mask, false otherwise.
  51. [heading Header]
  52. Either
  53. `#include <boost/geometry.hpp>`
  54. Or
  55. `#include <boost/geometry/algorithms/relate.hpp>`
  56. [include reference/algorithms/relate.qbk]
  57. [endsect]