diff options
author | Han-Wen Nienhuys <hanwen@lilypond.org> | 2011-01-31 12:54:41 -0200 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@lilypond.org> | 2011-01-31 23:29:42 -0200 |
commit | 4c67a449e01a229165a8fd5f26c06cb90ba97346 (patch) | |
tree | 792c5743e9c262aedfbf3593e0da165a2f87e0bd /flower | |
parent | b69dbbc66da069134b9e1e4047cbf74d5a9ac50b (diff) |
Document Interval::delta().
Diffstat (limited to 'flower')
-rw-r--r-- | flower/include/interval.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flower/include/interval.hh b/flower/include/interval.hh index 9c831816c4..be7074c242 100644 --- a/flower/include/interval.hh +++ b/flower/include/interval.hh @@ -68,6 +68,8 @@ struct Interval_t : public Drul_array<T> at (RIGHT) = max (at (RIGHT), p); } T length () const; + + // Returns RIGHT - LEFT, even if the interval is empty. T delta () const; void set_empty (); void set_full (); |