difference.qbk 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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__difference.xml]
  12. [section:difference_4_with_strategy difference (with strategy)]
  13. '''<indexterm><primary>difference</primary></indexterm>'''
  14. [heading Description]
  15. Calculate the difference of two geometries
  16. The free function difference calculates the spatial set theoretic difference of two geometries.
  17. [heading Synopsis]
  18. ``template<typename Geometry1, typename Geometry2, typename Collection, typename Strategy>
  19. void difference(Geometry1 const & geometry1, Geometry2 const & geometry2, Collection & output_collection,
  20. Strategy const & strategy)``
  21. [heading Parameters]
  22. [table
  23. [[Type] [Concept] [Name] [Description] ]
  24. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  25. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  26. [[Collection &] [output collection, either a multi-geometry, or a std::vector<Geometry> / std::deque<Geometry> etc ] [output_collection] [the output collection ]]
  27. [[Strategy const &] [Any type fulfilling a Difference Strategy Concept ] [strategy] [The strategy which will be used for difference calculations]]
  28. ]
  29. [heading Header]
  30. Either
  31. `#include <boost/geometry.hpp>`
  32. Or
  33. `#include <boost/geometry/algorithms/difference.hpp>`
  34. [include reference/algorithms/difference.qbk]
  35. [endsect]
  36. [section:difference_3 difference]
  37. '''<indexterm><primary>difference</primary></indexterm>'''
  38. [heading Description]
  39. Calculate the difference of two geometries
  40. The free function difference calculates the spatial set theoretic difference of two geometries.
  41. [heading Synopsis]
  42. ``template<typename Geometry1, typename Geometry2, typename Collection>
  43. void difference(Geometry1 const & geometry1, Geometry2 const & geometry2, Collection & output_collection)``
  44. [heading Parameters]
  45. [table
  46. [[Type] [Concept] [Name] [Description] ]
  47. [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
  48. [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
  49. [[Collection &] [output collection, either a multi-geometry, or a std::vector<Geometry> / std::deque<Geometry> etc ] [output_collection] [the output collection]]
  50. ]
  51. [heading Header]
  52. Either
  53. `#include <boost/geometry.hpp>`
  54. Or
  55. `#include <boost/geometry/algorithms/difference.hpp>`
  56. [include reference/algorithms/difference.qbk]
  57. [endsect]