Patch Normals
Version 1.0.0.0 (14,5 KB) von
Dirk-Jan Kroon
Calculates the normal vectors of a triangulated mesh (patch)
This function calculates the normal vectors of a triangulated mesh such as used by the Matlab function patch.
It first calculates the normal vectors of all faces, and after that calculates the vertex normals from the face normals weighted by the angles of the faces.
The function is both implemented as a normal Matlab function and as a mex file in c-code (much faster)
Try the example ...
Zitieren als
Dirk-Jan Kroon (2026). Patch Normals (https://de.mathworks.com/matlabcentral/fileexchange/24330-patch-normals), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Polygons >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Scalar Volume Data >
Mehr zu Polygons finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: Compute STL Vertex Normals
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
