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) – If True, unitize the normal vector.

Returns

list[float] – The components of the normal vector.