equal
deleted
inserted
replaced
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 } |