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 parameters::time_limit = 0,
std::size_t parameters::max_iteration_number = 0,
double parameters::convergence = 0.02,
double parameters::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.

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));

See Also

CGAL::no_odt
CGAL::odt_optimize_mesh_3
CGAL::make_mesh_3
CGAL::refine_mesh_3