Function

CGAL::exude_mesh_3

Definition

The function exude_mesh_3 performs a sliver exudation process on a Delaunay mesh.

The sliver exudation process consists in turning the Delaunay triangulation into a weighted Delaunay triangulation and optimizing the weights of vertices in such a way that slivers disappear and the quality of the mesh improves.

#include <CGAL/exude_mesh_3.h>

template<typename C3T3>
Mesh_optimization_return_code exude_mesh_3 ( C3T3& c3t3, double parameters::time_limit=0, double parameters::sliver_bound=0)

Precondition

time_limit 0 and 0 sliver_bound 180

Parameters

Parameter C3T3 is required to be a model of the concept MeshComplex_3InTriangulation_3. The argument c3t3, passed by reference, provides the initial mesh and is modified by the algorithm to represent the final optimized mesh.

The function has two optional parameters which are named parameters (we use the Boost.Parameter library). Therefore, when calling the function, the parameters can be provided in any order provided that the names of the parameters are used (see example at the bottom of this page).

Return Values

The function exude_mesh_3 returns a value of type Mesh_optimization_return_code which is:

Example

// Exude without sliver_bound, using at most 10s CPU time
exude_mesh_3(c3t3, parameters::time_limit=10);

See Also

CGAL::Mesh_optimization_return_code
CGAL::make_mesh_3
CGAL::refine_mesh_3
CGAL::perturb_mesh_3
CGAL::lloyd_optimize_mesh_3
CGAL::odt_optimize_mesh_3