radiansToPositivePeriodicFractionStartEnd MethodStatic
return the fractionalized position of the given angle (as radians), computed with consideration of 2PI period.
- consider radians0 as
start
angle of the sweep and radians1 asend
angle of the sweep - fraction is always positive
- the start angle is at fraction 0
- the end angle is at fraction 1
- interior angles are between 0 and 1
- all exterior angles are at fractions greater than 1
- allows period shift
radiansToPositivePeriodicFractionStartEnd(radians: number, radians0: number, radians1: number, zeroSweepDefault: number = 0.0): number
Parameter | Type | Description |
---|---|---|
radians | number | |
radians0 | number | |
radians1 | number | |
zeroSweepDefault | number |
Returns - number
Defined in
- geometry3d/AngleSweep.ts Line 246
Last Updated: 20 June, 2023