pub type BezierSegment<P> = ((f64, f64), Vec<P>);
A Bézier segment: the parameter interval it covers, and its control points.