Skip to main content

fit_points_2d_at_closed

Function fit_points_2d_at_closed 

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

As fit_points_2d_at, with the loop’s join made C1.

The chart image of a closed curve either returns to its first point or, crossing its surface’s seam, to that point one period over. Both are the same loop, and the join constraint holds either way because it speaks derivatives, not positions.

§Errors

As fit_points_2d_at.