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
- curve/CurveExtendMode.ts Line 73
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.