VolMesh.halfface_normal

VolMesh.halfface_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.