Diagram.centroid

Diagram.centroid()

Calculate the mesh centroid.

Returns

list – The coordinates of the mesh centroid.