mike <at> apollinemike.com <mike <at> apollinemike.com> writes:

> Before I reinvent the wheel, does the code base have something like 
> Interval::contains that accepts an interval as an argument instead of a point?
> 

Well, there is Interval::superset() if you like object-oriented-obfuscation,
but it would be much more clear to simply
 (a.at (LEFT) <= b.at (LEFT) && a.at (RIGHT) >= b.at (RIGHT))


_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to