ForceDiagram.centroid

ForceDiagram.centroid()[source]

Calculate the mesh centroid.

Returns

list[float] – The coordinates of the mesh centroid.