angleToPositivePeriodicFraction Method

map an angle to a fractional coordinate which is:

  • 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
  • the periodic jump is at full wraparound to the start angle

angleToPositivePeriodicFraction(theta: Angle): number

Parameter Type Description
theta Angle  

Returns - number

Defined in

Last Updated: 13 June, 2024