Function wrap_curve2_parameter

pub fn wrap_curve2_parameter(
    curve: &BSplineCurve<DVec2>,
    parameter: f64,
    tolerance: Tolerance,
) -> Result<f64, GeomError>
Expand description

Wrap a finite planar-curve parameter into its active domain.

Wrapping is rejected unless closed is set and position continuity is independently verified. An in-domain upper endpoint remains the upper endpoint rather than being remapped to the lower endpoint.