relation.qbk 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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__relation.xml]
  12. [section:relation_3_with_strategy relation (with strategy)]
  13. '''<indexterm><primary>relation</primary></indexterm>'''
  14. Calculates the relation between a pair of geometries as defined in DE-9IM.
  15. [heading Synopsis]
  16. ``template<typename Geometry1, typename Geometry2, typename Strategy>
  17. de9im::matrix relation(Geometry1 const & geometry1, Geometry2 const & geometry2, Strategy const & strategy)``
  18. [heading Parameters]
  19. [table
  20. [[Type] [Concept] [Name] [Description] ]
  21. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  22. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  23. [[Strategy const &] [Any type fulfilling a Relation Strategy Concept ] [strategy] [The strategy which will be used for relation calculations ]]
  24. ]
  25. [heading Returns]
  26. The DE-9IM matrix expressing the relation between geometries.
  27. [heading Header]
  28. Either
  29. `#include <boost/geometry.hpp>`
  30. Or
  31. `#include <boost/geometry/algorithms/relation.hpp>`
  32. [include reference/algorithms/relation.qbk]
  33. [endsect]
  34. [section:relation_2 relation]
  35. '''<indexterm><primary>relation</primary></indexterm>'''
  36. Calculates the relation between a pair of geometries as defined in DE-9IM.
  37. [heading Synopsis]
  38. ``template<typename Geometry1, typename Geometry2>
  39. de9im::matrix relation(Geometry1 const & geometry1, Geometry2 const & geometry2)``
  40. [heading Parameters]
  41. [table
  42. [[Type] [Concept] [Name] [Description] ]
  43. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  44. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  45. ]
  46. [heading Returns]
  47. The DE-9IM matrix expressing the relation between geometries.
  48. [heading Header]
  49. Either
  50. `#include <boost/geometry.hpp>`
  51. Or
  52. `#include <boost/geometry/algorithms/relation.hpp>`
  53. [include reference/algorithms/relation.qbk]
  54. [endsect]