pub trait ParamCurveNearest { fn nearest(&self, p: Vec2, accuracy: f64) -> (f64, f64); }
A parametrized curve that reports the nearest point.
Find the point on the curve nearest the given point.
Returns the parameter and the square of the distance.