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[float] – The coordinates of the centroid.
Compute the location of the centroid of a face.
fkey (int) – The identifier of the face.
list[float] – The coordinates of the centroid.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev