Пример #1
0
 bounds_type bounds() const
 {
   return bounds_type(v_,v_);
 }
Пример #2
0
 bounds_type     client_bounds()
 {
     return bounds_type( client_extent() );
 }
Пример #3
0
 bounds_type     window_bounds()
 {
     return bounds_type( window_topleft(), window_extent() );
 }
Пример #4
0
 BoundingBox(point_type _min, point_type _max) : 
   bounds_(bounds_type(_min,_max)) 
 {
 }
Пример #5
0
 BoundingBox() : bounds_(bounds_type()) {}
Пример #6
0
 bounds_type bounds() const
 {      
   point_type _rP(radius_,radius_,radius_),
              _rM(-radius_,-radius_,-radius_);
   return bounds_type(center_ + _rM, center_ + _rP);
 }