pub(crate) fn min_dist_param( bez1: &[Vec2], bez2: &[Vec2], u: (f64, f64), v: (f64, f64), epsilon: f64, best_alpha: Option<f64>, ) -> (f64, f64, f64)