+/*
+ idealspacing.cc -- implement Idealspacing
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 1996--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
+
#include "idealspacing.hh"
-#include "pcol.hh"
-#include "pscore.hh"
-#include "pstaff.hh"
+#include "paper-column.hh"
+#include "paper-score.hh"
#include "debug.hh"
-void
-Idealspacing::print() const
-{
-#ifndef NPRINT
- mtor << "idealspacing {" ;
- mtor << "distance "<<space<< " strength " << hooke ;
- mtor << "left " << left->rank() << " right " << right->rank() << "}\n";
-#endif
-}
-
-Idealspacing::Idealspacing(const PCol * l,const PCol * r)
-{
- space = 0.0;
- hooke = 0.0;
- left = l;
- right = r;
-}
-void
-Idealspacing::OK() const
+Idealspacing::Idealspacing()
{
-#ifndef NDEBUG
- assert(hooke >= 0 && left && right);
-#endif
+ space_f_ = 0.0;
+ hooke_f_ = 0.0;
+ cols_drul_[LEFT] = cols_drul_[RIGHT] = -1;
}