resolveRadiansToSweepFraction MethodStatic

Adjust a radians value to an angle sweep, allowing the extendParam to affect choice among periodic fractions.

  • If radians is within the sweep, convert it to a fraction of the sweep.
  • If radians is outside, use the extendParam to choose among:
    • fraction below 0.
    • fraction above 1.

resolveRadiansToSweepFraction(extendParam: VariantCurveExtendParameter, radians: number, sweep: AngleSweep): number

Parameter Type Description
extendParam VariantCurveExtendParameter  
radians number  
sweep AngleSweep  

Returns - number

Defined in

Last Updated: 17 December, 2024