Interval y () const {return interval_a_[Y_AXIS]; }
Interval operator [] (Axis a) const;
Interval &operator [] (Axis a);
+ Real area () const;
+ bool is_empty () const;
+ bool is_empty (Axis a) const;
Offset center () const;
void widen (Real x, Real y);
void scale (Real r);
void unite (Box b);
+ void intersect (Box b);
+ void print ();
Box ();
Box (Interval ix, Interval iy);
};
+
#endif