Skip to main content

fit_points_at

Function fit_points_at 

Source
pub fn fit_points_at(
    parameters: &[f64],
    points: &[Point],
    degree: usize,
    tolerance: f64,
    tol: Tolerances,
) -> OgeomResult<Fitted<BSplineCurve>>
Expand description

Fit space points at fixed parameters: the caller’s t values are the curve’s own, which is what keeps a replacement curve same-parameter with every chart already speaking the old one.

§Errors

As fit_points, and the parameters must be strictly increasing and as many as the points.