作业6源码数据
Printing description of this->bounding_box:
(Bounds3) bounding_box = {
pMin = (x = -5.66282558, y = 1.99859393, z = -3.70075011)
pMax = (x = 3.64672804, y = 11.2197609, z = 3.52287841)
center = (x = 0, y = 0, z = 0)
}
centroidBounds = Union(centroidBounds, objects[i]->getBounds().Centroid());
Printing description of centroidBounds:
(Bounds3) centroidBounds = {
pMin = (x = -5.65854406, y = 2.00797772, z = -3.6927402)
pMax = (x = 3.64121199, y = 11.1884823, z = 3.50062847)
center = (x = 0, y = 0, z = 0)
}
centroidBounds = Union(centroidBounds, objects[i]->getBounds());
Printing description of centroidBounds:
(Bounds3) centroidBounds = {
pMin = (x = -5.66282558, y = 1.99859393, z = -3.70075011)
pMax = (x = 3.64672804, y = 11.2197609, z = 3.52287841)
center = (x = 0, y = 0, z = 0)
}