Skip to main content

project_on_planar_curve

Function project_on_planar_curve 

Source
pub fn project_on_planar_curve(
    curve: &PlanarCurve,
    target: Point2,
    samples: usize,
    tol: Tolerances,
) -> OgeomResult<(f64, Point2, f64)>
Expand description

The nearest point on a planar curve to a point in the same parameter space.

ยงErrors

As project_on_curve.