ForceDiagram.centroid

ForceDiagram.centroid()

Calculate the mesh centroid.

Returns:
list[float]

The coordinates of the mesh centroid.