2 some 2D geometrical concepts
8 #include "flower-proto.hh"
10 #include "interval.hh"
16 Interval interval_a_[NO_AXES];
18 Interval &x() {return interval_a_[X_AXIS]; }
19 Interval &y(){ return interval_a_[Y_AXIS]; }
20 Interval x() const{ return interval_a_[X_AXIS]; }
21 Interval y() const{return interval_a_[Y_AXIS]; }
22 Interval operator[](Axis a) const;
23 Interval &operator[] (Axis a);
25 void translate (Offset o);
26 /// smallest box enclosing #b#
31 Box (Interval ix, Interval iy);