+ minp = maxp = Vector();
+
+ for(TrackMap::const_iterator i=tracks.begin(); i!=tracks.end(); ++i)
+ {
+ Vector tmin;
+ Vector tmax;
+ i->second->get_bounds(Angle::zero(), tmin, tmax);
+ minp.x = min(minp.x, tmin.x);
+ minp.y = min(minp.y, tmin.y);
+ maxp.x = max(maxp.x, tmax.x);
+ maxp.y = max(maxp.y, tmax.y);
+ }
+}