CGAL 5.1 - Optimal Bounding Box
|
In this package, the optional parameters of all functions are implemented as BGL optional named parameters (see Named Parameters for more information on how to use them).
Since the parameters of the various functions defined in this package are redundant, their long descriptions are centralized below. The sequence of named parameters should start with CGAL::parameters::
. CGAL::parameters::all_default()
can be used to indicate that default values of optional named parameters must be used.
In the following, we assume that the following types are provided as template parameters of functions and classes. Note that, for some of these functions, the type is more specific:
PolygonMesh
is a model of the concept FaceGraph
. GeomTraits
a geometric traits class in which constructions are performed and predicates evaluated. Everywhere in this package, a CGAL Kernel
fulfills the requirements. The following named parameters, offered by the package CGAL and the Boost Graph Library (see BGL Named Parameters), are used in this package:
vertex_point_map | is the property map with the points associated to the vertices of the polygon mesh boost::get(CGAL::vertex_point, pmesh) |
point_map | is the property map containing the points associated to the elements of the point range points .Type: a class model of ReadablePropertyMap with PointRange::iterator::value_type as key type and geom_traits::Point_3 as value type. Default: |
In addition to these named parameters, this package offers the following named parameters:
geom_traits | is the geometric traits instance in which the mesh processing operation should be performed. typename CGAL::Kernel_traits< typename boost::property_traits< typename boost::property_map<PolygonMesh, CGAL::vertex_point_t>::type>::value_type>::Kernel |
use_convex_hull | Parameter used in the construction of oriented bounding box to indicate whether the algorithm should first extract the extreme points (points that are on the 3D convex hull) of the input data range to accelerate the computation of the bounding box. |