Mesh.face_centroid

Mesh.face_centroid(fkey)[source]

Compute the location of the centroid of a face.

Parameters

fkey (int) – The identifier of the face.

Returns

list – The coordinates of the centroid.