[/============================================================================
  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__ intersection]

[heading_conformance_ogc __this_function__..Intersection]

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

[include reference/algorithms/geometry_rules.qbk]

[heading Example]
[intersection]
[intersection_output]

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