The function parameters::lloyd allows the user to trigger a call of lloyd_optimize_mesh_3 in mesh generation functions make_mesh_3 and refine_mesh_3. It also allows the user to pass parameters to the optimization function lloyd_optimize_mesh_3 through these mesh generation functions.
#include <CGAL/refine_mesh_3.h>
|
|
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 lloyd_optimize_mesh_3 function. See its manual page for further details.
no_lloyd
lloyd_optimize_mesh_3
make_mesh_3
refine_mesh_3
// Mesh generation with lloyd optimization step C3t3 c3t3 = make_mesh_3<c3t3>(domain, criteria, parameters::lloyd()); refine_mesh_3(c3t3, domain, criteria, parameters::lloyd(parameters::time_limit=10));