Patch Curvature

版本 (313.8 KB) 作者: Dirk-Jan Kroon
Principal, Gaussian and Mean Curvature of triangulated mesh

2.9K 次下载

更新时间 2014/1/15


This function calculates the principal curvature directions and values
of a triangulated mesh.

The function first rotates the data so the normal of the current
vertex becomes [-1 0 0], so we can describe the data by XY instead of
Secondly it fits a least-squares quadratic patch to the local
neighborhood of a vertex "f(x,y) = ax^2 + by^2 + cxy + dx + ey + f".
Then the eigenvectors and eigenvalues of the hessian are used to
calculate the principal, mean and gaussian curvature.


FV : A triangulated mesh (see Patch)
usethird : Use third order neighbour vertices for the curvature
fit, making it smoother but less local. true/ false (default)

Cmean : Mean Curvature
Cgaussian : Gaussian Curvature
Dir1 : XYZ Direction of first Principal component
Dir2 : XYZ Direction of second Principal component
Lambda1 : value of first Principal component
Lambda2 : value of second Principal component


Dirk-Jan Kroon (2023). Patch Curvature (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
Windows macOS Linux
Help CenterMATLAB Answers 中查找有关 Polygons 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明

Fixed eigenvector calculation, sign of eigenvalues and sorting of eigenvectors