fractionToSignedPeriodicFraction Method
Convert a sweep fraction to the equivalent period-shifted fraction inside this sweep, or within one period of zero on the desired side.
fractionToSignedPeriodicFraction(fraction: 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 280
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.