pub fn project_point_onto_curve( curve: &impl ParametricCurve2d, point: Point2d, max_error: f64, t0: Option<f64>, ) -> Option<f64>
Projects a point onto a parametric curve.