Skip to main content

Module mesh_smoothing

Module mesh_smoothing 

Source
Expand description

Mesh smoothing algorithms

Three progressively more sophisticated approaches are provided:

AlgorithmVolume preservationSpeed
LaplacianPoor (shrinks mesh)Fast
TaubinGoodFast
HCGoodFast

All algorithms share the same pattern: build a one-ring adjacency list from the mesh faces, then iteratively update vertex positions while keeping the face connectivity unchanged.

Structs§

HcSmoothingConfig
Configuration for HC (Humphrey’s Classes) smoothing.
LaplacianSmoothingConfig
Configuration for Laplacian smoothing.
TaubinSmoothingConfig
Configuration for Taubin (μ|λ) smoothing.

Functions§

smooth_hc
HC (Humphrey’s Classes) mesh smoothing.
smooth_laplacian
Laplacian mesh smoothing.
smooth_taubin
Taubin (μ|λ) mesh smoothing.