Skip to main content

fit_points_2d

Function fit_points_2d 

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

Fit a spline through 2D points, refining until tolerance is met.

The planar twin of fit_points, for pcurves: an intersection curve lives on both surfaces, and each face needs it in its own parameter space.

ยงErrors

As fit_points.