Curvature calculations on triangular 3D surface
Function to calculate the principal curvatures on a triangular mesh. Approximations of curvature are based on local (N=1) neighborhood elements and vertices.
Note: Directions of curvatures aren't calculated appropriately. Will post an updated version once this is implemented.
Note that calculations at vertices with few adjacent triangles, and hence few adjacent vertices, are expanded to a greater neighborhood.
Reference:
1) Chen and Schmitt (1992) Intrinsic surface properties from surface triangulation
2) Dong et al. (2005) Curvature estimation on triangular mesh, JZUS
This code makes use of routines: buildInverseTriangualtion.m & removeDO.m
initially written by: David Gringas. He is gratefully acknowledged
Cite As
J. Ole Kaven (2024). Curvature calculations on triangular 3D surface (https://www.mathworks.com/matlabcentral/fileexchange/24937-curvature-calculations-on-triangular-3d-surface), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
- MATLAB > Mathematics > Computational Geometry > Triangulation Representation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.