CGAL::parameters::perturb

Definition

The function parameters::perturb allows the user to trigger a call to perturb_mesh_3 in make_mesh_3 and refine_mesh_3 mesh generation functions. It also allows the user to pass parameters to the optimization function perturb_mesh_3 through these mesh generation functions.

#include <CGAL/refine_mesh_3.h>

parameters::internal::Perturb parameters::perturb ( double time_limit = 0, double sliver_bound = 0)

Parameters

The parameters are named parameters. They are the same (i.e. they have the same name and the same default values) as the parameters of perturb_mesh_3 function. See its manual page for further details.

See Also

no_perturb
perturb_mesh_3
make_mesh_3
refine_mesh_3

Example

// Mesh generation with a perturbation step
C3t3 c3t3 = make_mesh_3<c3t3>(domain, criteria, parameters::perturb());
refine_mesh_3(c3t3, domain, criteria, parameters::perturb(parameters::time_limit=10));