Mesh.face_centroid

Mesh.face_centroid(fkey)[source]

Compute the point at the centroid of a face.

Parameters:
fkeyint

The identifier of the face.

Returns:
compas.geometry.Point

The point at the centroid.