]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/idealspacing.hh
release: 0.0.42.pre3
[lilypond.git] / lily / include / idealspacing.hh
1 /*
2   idealspacing.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef IDEALSPACING_HH
8 #define IDEALSPACING_HH
9 #include "proto.hh"
10
11 /// ideal spacing between two columns
12 struct Idealspacing {
13
14     /// the ideal distance
15     Real space;
16
17     /// Hooke's constant: how strong are the "springs" attached to columns
18     Real hooke;
19
20     /// the two columns
21     PCol const *left, *right;
22     
23     void print()const;
24     void OK() const ;
25     Idealspacing(PCol const *left,PCol const *right);    
26 };
27
28
29 #endif // IDEALSPACING_HH
30