centroid_polygon_vertices
- compas.geometry.centroid_polygon_vertices(polygon)[source]
Compute the centroid of the vertices of a polygon.
- Parameters:
- polygonsequence[[float, float, float] |
compas.geometry.Point
] A sequence of polygon point coordinates.
- polygonsequence[[float, float, float] |
- Returns:
- [float, float, float]
The XYZ coordinates of the centroid.