//! Extend the boundaries of the box by the given \a a_box parameter. void extendBy(const Box3<Type> & a_box) { if(isEmpty()){ *this = a_box; }else{ extendBy(a_box.getMin()); extendBy(a_box.getMax()); } }
//! Check \a b1 and \a b2 for equality. friend bool operator ==(const Box3<Type> & b1, const Box3<Type> & b2) { return b1.getMin() == b2.getMin() && b1.getMax() == b2.getMax(); }
Box3(const Box3<Type> & box) { setBounds( box.getMin(), box.getMax() ); }