Boost.Geometry    Boost C++ Libraries
Classes | Functions
convex hull: calculate the convex hull of a geometry

Classes

class  boost::geometry::concepts::ConvexHullStrategy< Strategy >
 Checks strategy for convex_hull. More...
 
struct  boost::geometry::strategy_convex_hull< Geometry1, Point, CsTag >
 Traits class binding a convex hull calculation strategy to a coordinate system. More...
 

Functions

template<typename Geometry , typename OutputGeometry >
void boost::geometry::convex_hull (Geometry const &geometry, OutputGeometry &hull)
 Calculates the convex hull of a geometry. More...
 

Detailed Description

Function Documentation

template<typename Geometry , typename OutputGeometry >
void boost::geometry::convex_hull ( Geometry const &  geometry,
OutputGeometry &  hull 
)

Calculates the convex hull of a geometry.

The free function convex_hull calculates the convex hull of a geometry.

Template Parameters
Geometrythe input geometry type
OutputGeometrythe output geometry type
Parameters
geometryA model of the specified concept, input geometry
hullA model of the specified concept which is set to the convex hull

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen