cgal/Mesh_3/doc_tex/Mesh_3_ref/parameters_lloyd.tex

68 lines
2.2 KiB
TeX

% +------------------------------------------------------------------------+
% | Reference manual page: parameters_lloyd.tex
% +------------------------------------------------------------------------+
% | 20.10.2009 Stephane Tayeb
% | Package: Mesh_3
% |
\RCSdef{\RCSlloydRev}{$Id$}
\RCSdefDate{\RCSlloydDate}{$Date$}
% |
\ccRefPageBegin
%%RefPage: end of header, begin of main body
% +------------------------------------------------------------------------+
\begin{ccRefFunction}{parameters::lloyd} %% add template arg's if necessary
%% \ccHtmlCrossLink{} %% add further rules for cross referencing links
%% \ccHtmlIndexC[function]{} %% add further index entries
\ccDefinition
The function \ccRefName\ allows the user to trigger a call of
\ccc{lloyd_optimize_mesh_3} in the mesh generation functions
\ccc{make_mesh_3} and \ccc{refine_mesh_3}. It also allows the user to pass
parameters to the optimization function
\ccc{lloyd_optimize_mesh_3} through these mesh generation functions.
\ccInclude{CGAL/refine_mesh_3.h}
\ccGlobalFunction{parameters::internal::Lloyd_options parameters::lloyd(
double parameters::time_limit = 0,
std::size_t parameters::max_iteration_number = 0,
double parameters::convergence = 0.02,
double parameters::freeze_bound = 0.01);}
\ccParameters
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 the \ccc{lloyd_optimize_mesh_3}
function. See its manual page for further details.
\ccExample
\begin{ccExampleCode}
// 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));
\end{ccExampleCode}
\ccSeeAlso
\ccRefIdfierPage{CGAL::no_lloyd} \\
\ccRefIdfierPage{CGAL::lloyd_optimize_mesh_3} \\
\ccRefIdfierPage{CGAL::make_mesh_3} \\
\ccRefIdfierPage{CGAL::refine_mesh_3}
\end{ccRefFunction}
% +------------------------------------------------------------------------+
%%RefPage: end of main body, begin of footer
\ccRefPageEnd
% EOF
% +------------------------------------------------------------------------+