CGAL 5.4.1 - 2D Conforming Triangulations and Meshes

Enumerations

enum  CGAL::Mesh_optimization_return_code {
  CGAL::BOUND_REACHED = 0, CGAL::TIME_LIMIT_REACHED, CGAL::CANT_IMPROVE_ANYMORE, CGAL::CONVERGENCE_REACHED,
  CGAL::MAX_ITERATION_NUMBER_REACHED, CGAL::ALL_VERTICES_FROZEN
}
 The enum Mesh_optimization_return_code is the output of the global mesh optimization functions. More...
 

Enumeration Type Documentation

◆ Mesh_optimization_return_code

#include <CGAL/Mesh_optimization_return_code.h>

The enum Mesh_optimization_return_code is the output of the global mesh optimization functions.

This output corresponds to mesh optimization process termination reasons. Note that depending on what parameters have been set to the optimizer, each return value may represent a failure or a success.

See also
CGAL::lloyd_optimize_mesh_2
Enumerator
BOUND_REACHED 

The given lower bound on mesh quality is reached.

TIME_LIMIT_REACHED 

The given time limit is reached.

CANT_IMPROVE_ANYMORE 

Mesh could not be improved anymore.

CONVERGENCE_REACHED 

The given convergence bound is reached.

MAX_ITERATION_NUMBER_REACHED 

The given maximum iteration number is reached.

ALL_VERTICES_FROZEN 

All vertices have been frozen.