X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Finterval.hh;h=be7074c242bec76dc2a599e4e9359e6ad9e73556;hb=17d3559fc93cd3b2cc2afbc240abbe11874373c6;hp=9c831816c439661856fb240c07d61b4bdad03a96;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git 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 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 ();