lilypond-0.0.61
[lilypond.git] / hdr / idealspacing.hh
blob05f58ba9c8675a01b06e52037c0b74a6ea17eb43
1 /*
2 idealspacing.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef IDEALSPACING_HH
8 #define IDEALSPACING_HH
9 #include "proto.hh"
11 /// ideal spacing between two columns
12 struct Idealspacing {
14 /// the ideal distance
15 Real space;
17 /// Hooke's constant: how strong are the "springs" attached to columns
18 Real hooke;
20 /// the two columns
21 const PCol *left, *right;
23 void print()const;
24 void OK() const ;
25 Idealspacing(const PCol *left,const PCol *right);
29 #endif // IDEALSPACING_HH