Function bsplines::curve::knots::methods::de_boor

source ·
pub fn de_boor(
    degree: usize,
    segments: usize,
    parameters: &Parameters
) -> Result<Knots, CurveError>
Expand description

see eqs. (9.68-9.69) in Piegl1997

§Note

If this method is used, the parameters must be generated by the chord length method to prevent the resulting system of linear equations from becoming singular. It guarantees that every knot span contains at least one u_bar. According to deBoor, this ensures that the $$N\times N$$ cofficient matrix is positive definite and well-conditioned, which is important for the least-squares fitting and interpolation of data points.