lemon/xy.h
changeset 2048 b1a605b2f03c
parent 1999 2ff283124dfc
child 2157 f9171bfc7ebb
equal deleted inserted replaced
8:c0b811392065 9:269c2e7d5d36
   398 //       BoundingBox operator +(const xy<T>& u){
   398 //       BoundingBox operator +(const xy<T>& u){
   399 //         BoundingBox b = *this;
   399 //         BoundingBox b = *this;
   400 //         return b += u;
   400 //         return b += u;
   401 //       }
   401 //       }
   402 
   402 
   403       ///Increments a bounding box with an other bounding box
   403       ///Increments a bounding box with another bounding box
   404       BoundingBox& add(const BoundingBox &u){
   404       BoundingBox& add(const BoundingBox &u){
   405         if ( !u.empty() ){
   405         if ( !u.empty() ){
   406           this->add(u.bottomLeft());
   406           this->add(u.bottomLeft());
   407 	  this->add(u.topRight());
   407 	  this->add(u.topRight());
   408         }
   408         }