From 7a6faa7c38811d8e8522ca58d6bf90c85cfa55fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 21 Sep 2022 16:40:22 +0200 Subject: [PATCH] use precondition macro --- Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h b/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h index e7e897c777b..98668866d92 100644 --- a/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h +++ b/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h @@ -76,7 +76,7 @@ namespace CGAL * \cgalParamNBegin{max_iteration_number} * \cgalParamDescription{limit on the number of performed iterations. 0 means that there is * no limit on the number of performed iterations.} - * \cgalParamExtra{\pre `max_iteration_number >=0`} + * \cgalParamPrecondition{`max_iteration_number >=0`} * \cgalParamType{`int`} * \cgalParamDefault{0} * \cgalParamNEnd @@ -85,7 +85,7 @@ namespace CGAL * \cgalParamDescription{to set up, in seconds, a CPU time limit after which the optimization process is stopped. * This time is measured using `CGAL::Real_timer`. 0 means that there is no time limit.} * \cgalParamType{`double`} - * \cgalParamExtra{\pre `time_limit` \f$ \geq\f$ 0} + * \cgalParamPrecondition{`time_limit` \f$ \geq\f$ 0} * \cgalParamDefault{0} * \cgalParamNEnd * @@ -95,7 +95,7 @@ namespace CGAL * of its shortest incident edge, is frozen (i.e.\ is not relocated). * The parameter `freeze_bound` gives the threshold ratio. * If it is set to 0, freezing of vertices is disabled.} - * \cgalParamExtra{\pre `0<= freeze_bound <=1} + * \cgalParamPrecondition{`0<= freeze_bound <=1`} * \cgalParamType{`double`} * \cgalParamDefault{0.001} * \cgalParamNEnd @@ -104,7 +104,7 @@ namespace CGAL * \cgalParamDescription{threshold ratio of stopping criterion based on convergence: the optimization process is stopped * when at the last iteration the displacement of any vertex is less than * a given fraction of the length of the shortest edge incident to that vertex.} - * \cgalParamExtra{\pre `0 <=convergence <= 1`} + * \cgalParamPrecondition{`0 <=convergence <= 1`} * \cgalParamType{`double`} * \cgalParamDefault{0.001} * \cgalParamNEnd