Patch Normals
Versione 1.0.0.0 (14,5 KB) da
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 ...
Cita come
Dirk-Jan Kroon (2026). Patch Normals (https://it.mathworks.com/matlabcentral/fileexchange/24330-patch-normals), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2009a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- 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 >
Scopri di più su Polygons in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Compute STL Vertex Normals
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
