[][src]Function flo_curves::bezier::fit_curve_cubic

pub fn fit_curve_cubic<Curve: BezierCurveFactory + BezierCurve>(
    points: &[Curve::Point],
    start_tangent: &Curve::Point,
    end_tangent: &Curve::Point,
    max_error: f64
) -> Vec<Curve>

Fits a bezier curve to a subset of points