pub fn fit_curve3_to_tolerance(
points: &[DVec3],
tolerance: &CurveFitTolerance,
) -> Result<CurveFit3, GeomError>Expand description
Fit a curve whose maximum deviation does not exceed tolerance.max_deviation,
adding control points (starting from degree + 1) until it does.
ยงErrors
As fit_curve3, plus GeomError::BudgetExceeded when
tolerance.max_control_points is reached without meeting the
tolerance: the caller must widen the budget rather than receive a fit
that silently misses the requested accuracy.