FACENORMAL Vector normal to at each face in surface mesh

Examples

out = faceNormal([1 0 0; 0 1 0; 0 0 1], [1 2 3])
out = faceNormal([1 0 0; 0 1 0; 0 0 1; 0 0 0], [1 2 3; 1 4 2; 1 3 4; 2 4 3])

TODO

  • docs

Authors

Mehul Gajwani, Monash University, 2024