pub fn uniform(degree: usize, segments: usize) -> Result<Knots, CurveError>
see eq. (9.7) in Piegl1997
Piegl1997
Use this method only if the control points are evenly distributed.