CGAL::parameters::odt

Definition

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

#include <CGAL/refine_mesh_3.h>

parameters::internal::Odt
parameters::odt ( double time_limit = 0,
std::size_t max_iteration_number = 0,
double convergence = 0.02,
double freeze_bound = 0.01)

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 odt_optimize_mesh_3 function. See its manual page for further details.

See Also

no_odt
odt_optimize_mesh_3
make_mesh_3
refine_mesh_3

Example

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