[][src]Function flo_curves::bezier::solve_curve_for_t

pub fn solve_curve_for_t<C: BezierCurve>(
    curve: &C,
    point: &C::Point
) -> Option<f64>

Given a point that is close to or on the specified bezier curve, solves the 't' value that can be used to retrieve it