-void Layout3D::get_bounds(Vector &minp, Vector &maxp) const
-{
- Geometry::BoundingBox<float, 3> bbox;
-
- for(ObjectMap::const_iterator i=objects.begin(); i!=objects.end(); ++i)
- {
- const Shape *shape = i->second->get_object().get_shape();
- if(shape)
- bbox = bbox|shape->get_axis_aligned_bounding_box();
- }
-
- minp = bbox.get_minimum_point();
- maxp = bbox.get_maximum_point();
-}
-