EGI.datastructure_centroid

EGI.datastructure_centroid()

Compute the centroid of the datastructure.

Parameters

datastructure – A network, mesh or volmesh object.

Returns

list – The coordinates of the centroid.