]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/idealspacing.cc
release: 1.3.53
[lilypond.git] / lily / idealspacing.cc
index 1209cc22f5c4db8809a1aa6df7c57c61134d1372..90cfa1dbae38da7848f33a3eccc5bd50e20525fd 100644 (file)
@@ -3,34 +3,18 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996,1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1996--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "idealspacing.hh"
-#include "p-col.hh"
-#include "p-score.hh"
+#include "paper-column.hh"
+#include "paper-score.hh"
 #include "debug.hh"
 
-void
-Idealspacing::print() const
-{
-#ifndef NPRINT
-    DOUT << "idealspacing {" ;
-    DOUT << "distance "<<space_f_<< " strength " << hooke_f_ ;
-    DOUT << "left " << left_i_ << " right " << right_i_ << "}\n";
-#endif
-}
 
 Idealspacing::Idealspacing()
 {
-    space_f_ = 0.0;
-    hooke_f_ = 0.0;
-    left_i_ = -1;
-    right_i_ = -1;
-}
-
-void
-Idealspacing::OK() const
-{
-    assert (hooke_f_ >= 0);
+  space_f_ = 0.0;
+  hooke_f_ = 0.0;
+  cols_drul_[LEFT] = cols_drul_[RIGHT] = -1;
 }