mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 21:44:04 +00:00
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
[/ Generated by doxygen_xml2qbk, don't change, it will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/group__convex__hull.xml]
|
|
[section:convex_hull convex_hull]
|
|
|
|
Calculates the convex hull of a geometry.
|
|
|
|
[heading Description]
|
|
The free function convex_hull calculates the convex hull of a geometry.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Geometry1, typename Geometry2>
|
|
void convex_hull (Geometry1 const &geometry, Geometry2 &hull)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept, used for input ]]
|
|
[[Geometry2 &] [Any type fulfilling a Geometry Concept ] [hull] [A model of the specified concept which is set to the convex hull ]]
|
|
]
|
|
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/algorithms/convex_hull.hpp>`
|
|
|
|
|
|
[endsect]
|
|
|
|
[section:convex_hull_inserter convex_hull_inserter]
|
|
|
|
Calculate the convex hull of a geometry, output-iterator version.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Geometry, typename OutputIterator, >
|
|
OutputIterator convex_hull_inserter (Geometry const &geometry, OutputIterator out)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[:] [an output-iterator ] [ - ] [Must be specified]]
|
|
[[Geometry const &] [the input geometry type ] [geometry] [the geometry to calculate convex hull from ]]
|
|
[[OutputIterator] [] [out] [an output iterator outputing points of the convex hull ]]
|
|
]
|
|
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/algorithms/convex_hull.hpp>`
|
|
|
|
|
|
[endsect]
|
|
|