Smooth Triangulated Mesh

Accurate smoothing of triangulated patch / mesh
Updated 26 Mar 2010

View License

This function smooths a triangulated Mesh / Patch.

Supports accurate curvature flow smoothing. Which smooths in the direction of the normal keeping the edge ratio's the same.
Also supports Laplacian smoothing with inverse vertice-distance based umbrella weights, making the edge lengths more uniform.

Can be used to smooth iso-surface meshes, for scale space and simplification of patches.

Mathieu Desbrun et al. "Implicit Faring of Irregular Meshes using Diffusion and Curvature Flow"
Alexander Belyaev. "Curvature Estimation"

The code is written in Matlab and partly in c-code for speed up reasons.

Please leave a comment in case of a bug, like the code, or know a good improvement.

Cite As

Dirk-Jan Kroon (2024). Smooth Triangulated Mesh (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Export Voxel Data

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Comments "\\" to "\* *\". Now the code works with the Linux Gcc compiler.