Mesh.face_center

Mesh.face_center(fkey)[source]

Compute the location of the center of mass of a face.

Parameters

fkey (int) – The identifier of the face.

Returns

list – The coordinates of the center of mass.