-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)
- bbox = bbox|i->second->get_object().get_type().get_shape()->get_axis_aligned_bounding_box();
-
- minp = bbox.get_minimum_point();
- maxp = bbox.get_maximum_point();
-}
-