]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/idealspacing.hh
05f58ba9c8675a01b06e52037c0b74a6ea17eb43
[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     const PCol *left, *right;
22     
23     void print()const;
24     void OK() const ;
25     Idealspacing(const PCol *left,const PCol *right);    
26 };
27
28
29 #endif // IDEALSPACING_HH
30