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

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

  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)
=============================================================================/]


[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
[/ Generated from doxy/doxygen_output/xml/group__convex__hull.xml]
[section:convex_hull_2 convex_hull]

'''<indexterm><primary>convex_hull</primary></indexterm>'''
Calculates the convex hull of a geometry. 

[heading Description]
The free function convex\u005fhull calculates the convex hull of a geometry. 

[heading Synopsis]
``template<typename Geometry, typename OutputGeometry>
void convex_hull(Geometry const & geometry, OutputGeometry & hull)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [the input geometry type ] [geometry] [A model of the specified concept, input geometry ]]
[[OutputGeometry &] [the output geometry type ] [hull] [A model of the specified concept which is set to the convex hull]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/algorithms/convex_hull.hpp>`

[include reference/algorithms/convex_hull.qbk]


[endsect]

[section:convex_hull_3_with_strategy convex_hull (with strategy)]

'''<indexterm><primary>convex_hull</primary></indexterm>'''
Calculates the convex hull of a geometry using the specified strategy. 

[heading Description]
The free function convex\u005fhull calculates the convex hull of a geometry using the specified strategy. 

[heading Synopsis]
``template<typename Geometry, typename OutputGeometry, typename Strategy>
void convex_hull(Geometry const & geometry, OutputGeometry & out, Strategy const & strategy)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [the input geometry type ] [geometry] [A model of the specified concept, input geometry ]]
[[OutputGeometry &] [the output geometry type ] [out] [A model of the specified concept which is set to the convex hull ]]
[[Strategy const &] [the strategy type ] [strategy] [The strategy which will be used for area calculations]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/algorithms/convex_hull.hpp>`

[include reference/algorithms/convex_hull.qbk]


[endsect]

