]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/idealspacing.hh
release: 0.1.47
[lilypond.git] / lily / include / idealspacing.hh
index 72124521c0588f217dbd887a99f52a9ceece3b19..198b7e000b5f59f78df0de2b1561165dc58cd76f 100644 (file)
 /// ideal spacing between two columns
 struct Idealspacing {
 
-    /// the ideal distance
-    Real space;
+  /// the ideal distance
+  Real space_f_;
 
-    /// Hooke's constant: how strong are the "springs" attached to columns
-    Real hooke;
+  /// Hooke's constant: how strong are the "springs" attached to columns
+  Real hooke_f_;
 
-    /// the two columns
-    PCol const *left, *right;
+  /// the two columns
+  int left_i_;
+  int right_i_;
     
-    void print()const;
-    void OK() const ;
-    Idealspacing(PCol const *left,PCol const *right);    
+  Real energy_f (Real x) const;
+  void print() const;
+  void OK() const ;
+  Idealspacing();
 };