]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.1
authorfred <fred>
Thu, 3 Oct 1996 09:24:22 +0000 (09:24 +0000)
committerfred <fred>
Thu, 3 Oct 1996 09:24:22 +0000 (09:24 +0000)
boxes.cc [new file with mode: 0644]

diff --git a/boxes.cc b/boxes.cc
new file mode 100644 (file)
index 0000000..e042c25
--- /dev/null
+++ b/boxes.cc
@@ -0,0 +1,22 @@
+#include "boxes.hh"
+#include "const.hh"
+
+void
+Interval:: set_empty() {
+       min = INFTY;
+       max = -INFTY;
+}
+
+Box::Box(svec<Real> s)
+{
+    assert(s.sz() == 4);
+    x.min = s[0];
+    x.max = s[1];
+    y.min = s[2];
+    y.max = s[3];
+}
+
+Box::Box()
+{
+    
+}