CGAL 6.3 - 3D Mesh Smoothing
Loading...
Searching...
No Matches

Functions

template<typename C3t3, typename NamedParameters = parameters::Default_named_parameters>
void CGAL::boundary_aware_mesh_smoothing (C3t3 &c3t3, NamedParameters const &np=parameters::default_values())
 Smooth a tetrahedral mesh while preserving the boundary and curve features.

Function Documentation

◆ boundary_aware_mesh_smoothing()

template<typename C3t3, typename NamedParameters = parameters::Default_named_parameters>
void CGAL::boundary_aware_mesh_smoothing ( C3t3 & c3t3,
NamedParameters const & np = parameters::default_values() )

#include <CGAL/Mesh_smoothing_3/boundary_aware_mesh_smoothing.h>

Smooth a tetrahedral mesh while preserving the boundary and curve features.

This function takes as input a Mesh_complex_3_in_triangulation_3 and will iteratively move its vertices to improve the quality of the tetrahedra while preserving (softly) the boundary and curve features. Vertices will stay close to their original entity (surface patch or curve). Corners are locked on their original position. The code is capable of recovering curvature discontinuities (sharp features) in a patch, and is capable of recovering inverted tetrahedra in the mesh. A valid input mesh is guaranteed to remain valid after and during the smoothing.

Template Parameters
C3t3is a Mesh_complex_3_in_triangulation_3 type.
NamedParametersis a sequence of named parameters.
Parameters
c3t3is the tetrahedral mesh to smooth.
npis an optional sequence of Named Parameters among the ones listed below
Optional Named Parameters
  • the number of iterations for the full sequence of atomic operations performed (listed in the above description)
  • Type: unsigned int
  • Default: 100
  • If true, the function prints information about the smoothing process to the standard output.
  • Type: bool
  • Default: false
Examples
Mesh_smoothing_3/c3t3_smooth.cpp.