Patch Normals

Calculates the normal vectors of a triangulated mesh (patch)

Al momento, stai seguendo questo contributo

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 .

Riconoscimenti

Ispirato: Compute STL Vertex Normals

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0