[−][src]Trait kurbo::ParamCurveNearest
A parametrized curve that reports the nearest point.
Required methods
fn nearest(&self, p: Point, accuracy: f64) -> (f64, f64)
Find the point on the curve nearest the given point.
Returns the parameter and the square of the distance.