Skip to main content

project_curve2

Function project_curve2 

Source
pub fn project_curve2(
    curve: &BSplineCurve<DVec2>,
    target: DVec2,
    options: ProjectionOptions,
) -> Result<CurveProjection2, GeomError>
Expand description

Find the best planar-curve projection candidate within explicit budgets.

Every active knot span and both domain endpoints are seeded. The result is not a certified global minimum; inspect its status and distance.