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