Expand description
Mesh smoothing algorithms
Three progressively more sophisticated approaches are provided:
| Algorithm | Volume preservation | Speed |
|---|---|---|
| Laplacian | Poor (shrinks mesh) | Fast |
| Taubin | Good | Fast |
| HC | Good | Fast |
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§
- HcSmoothing
Config - Configuration for HC (Humphrey’s Classes) smoothing.
- Laplacian
Smoothing Config - Configuration for Laplacian smoothing.
- Taubin
Smoothing Config - Configuration for Taubin (μ|λ) smoothing.
Functions§
- smooth_
hc - HC (Humphrey’s Classes) mesh smoothing.
- smooth_
laplacian - Laplacian mesh smoothing.
- smooth_
taubin - Taubin (μ|λ) mesh smoothing.