Function wrap_curve2_parameter

Source
pub fn wrap_curve2_parameter(
    curve: &BSplineCurve2,
    parameter: Scalar,
    tolerance: Tolerance,
) -> GeomResult<Scalar>
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.