union.qbk 3.0 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__union.xml]
  12. [section:union__4_with_strategy union_ (with strategy)]
  13. '''<indexterm><primary>union_</primary></indexterm>'''
  14. Combines two geometries which each other.
  15. [heading Description]
  16. The free function union calculates the spatial set theoretic union of two geometries.
  17. [heading Synopsis]
  18. ``template<typename Geometry1, typename Geometry2, typename Collection, typename Strategy>
  19. void union_(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 Union_ Strategy Concept ] [strategy] [The strategy which will be used for union_ calculations ]]
  28. ]
  29. [heading Header]
  30. Either
  31. `#include <boost/geometry.hpp>`
  32. Or
  33. `#include <boost/geometry/algorithms/union.hpp>`
  34. [include reference/algorithms/union.qbk]
  35. [endsect]
  36. [section:union__3 union_]
  37. '''<indexterm><primary>union_</primary></indexterm>'''
  38. Combines two geometries which each other.
  39. [heading Description]
  40. The free function union calculates the spatial set theoretic union of two geometries.
  41. [heading Synopsis]
  42. ``template<typename Geometry1, typename Geometry2, typename Collection>
  43. void union_(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/union.hpp>`
  56. [include reference/algorithms/union.qbk]
  57. [endsect]