Merge pull request #1487 from abarth/merge_curve_into_interval Give Interval a Curve to apply between start and end