face_normal
- m3sh.traits.face_normal(face)[source]
Face normal.
Compute face normal as cross product of edge vectors.
- Parameters:
face (Face) – Face of a mesh.
- Returns:
Unit normal vector.
- Return type:
ndarray, shape (3, )
Note
For a non-triangular face the normal is computed by averaging vectors obtained as cross products of consecutive edges around the faces.