[/============================================================================
  Boost.Geometry (aka GGL, Generic Geometry Library)

  Copyright (c) 2009-2014 Barend Gehrels, Amsterdam, the Netherlands.
  Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
  Copyright (c) 2009-2014 Bruno Lalande, Paris, France.

  This file was modified by Oracle on 2014.
  Modifications copyright (c) 2014, Oracle and/or its affiliates.

  Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle

  Use, modification and distribution is subject to the Boost Software License,
  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  http://www.boost.org/LICENSE_1_0.txt)
=============================================================================/]

[def __this_function__ union]

[heading_conformance_ogc __this_function__..Union]
[note __boost_geometry__ adds an underscore to avoid using the `union` keyword]

[heading Behavior]
[table
[[Case] [Behavior] ]
[[[qbk_out __point__]][Calculates union linestrings of input (multi)points]]
[[[qbk_out __linestring__]][Calculates union linestrings of input (multi)linestrings]]
[[[qbk_out __polygon__]][Calculates union polygons of input (multi)polygons and/or boxes]]
]

[include reference/algorithms/geometry_rules.qbk]

[heading Example]
[union]
[union_output]

[heading See also]
* [link geometry.reference.algorithms.intersection intersection]
* [link geometry.reference.algorithms.difference difference]
* [link geometry.reference.algorithms.sym_difference sym_difference (symmetric difference)]
