def centroid(list_of_points):
    sum_x = 0
    sum_y = 0
    sum_z = 0
    n = float(len(list_of_points))
    for p in list_of_points:
        sum_x += float(p[0])
        sum_y += float(p[1])
        sum_z += float(p[2])
    return [sum_x / n, sum_y / n, sum_z / n]
Get an object from collection.
dataset/ETHPy150Open tudelft3d/CityGML2OBJs/polygon3dmodule.py/centroid--crossover with--dataset/ETHPy150Open openstack/python-solumclient/solumclient/openstack/common/apiclient/base.py/BaseManager._get