fractionToSignedPeriodicFractionStartEnd MethodStatic
Convert a sweep fraction to the equivalent period-shifted fraction inside the sweep, or within one period of zero on the desired side.
fractionToSignedPeriodicFractionStartEnd(fraction: number, radians0: number, radians1: number, toNegativeFraction: boolean): number
@returns period-shifted fraction. If fraction
is already in [0,1], or the sweep is empty, then fraction
is
returned unchanged.
Returns - number
period-shifted fraction. If fraction
is already in [0,1], or the sweep is empty, then fraction
is
returned unchanged.
Defined in
- geometry3d/AngleSweep.ts Line 257
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.