VolMesh.face_normal

VolMesh.face_normal(face, unitized=True)[source]

Compute the oriented normal of a face.

Parameters
  • face (int) – The identifier of the face.

  • unitized (bool, optional) – Unitize the normal vector. Default is True.

Returns

list – The components of the normal vector.