datastructure_centroid
- compas_3gs.utilities.datastructure_centroid(datastructure)[source]
Compute the centroid of the datastructure.
- Parameters
datastructure – A network, mesh or volmesh object.
- Returns
list – The coordinates of the centroid.
Compute the centroid of the datastructure.
datastructure – A network, mesh or volmesh object.
list – The coordinates of the centroid.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev