lilypond-0.0.4
[lilypond.git] / boxes.cc
blob74475b453053f168518107b7e3f22c4defc35fc0
1 #include "boxes.hh"
2 #include "const.hh"
4 void
5 Interval:: set_empty() {
6 min = INFTY;
7 max = -INFTY;
10 Box::Box(svec<Real> s)
12 assert(s.sz() == 4);
13 x.min = s[0];
14 x.max = s[1];
15 y.min = s[2];
16 y.max = s[3];
19 Box::Box()
23 Box::Box(Interval ix, Interval iy)
25 x=ix;
26 y = iy;