def bounding_box(positions):
    (x0, y0, z0) = (x1, y1, z1) = positions[0]
    for x, y, z in positions:
        x0 = min(x0, x)
        y0 = min(y0, y)
        z0 = min(z0, z)
        x1 = max(x1, x)
        y1 = max(y1, y)
        z1 = max(z1, z)
    return (x0, y0, z0), (x1, y1, z1)
Test function for mapCtoD() 6/6
dataset/ETHPy150Open fogleman/pg/pg/util.py/bounding_box--crossover with--dataset/ETHPy150Open ggventurini/python-deltasigma/deltasigma/tests/test_mapCtoD.py/TestMapCtoD.test_mapCtoD_6