pub fn y_subsegment(c: CubicBez, y0: f64, y1: f64) -> CubicBez
Restricts a Bézier curve to a vertical range.
The input curve should be monotonic in y, and its range should include y0 and y1 (which should be ordered).
y
y0
y1