angleToPositivePeriodicFraction Method

return the fractionalized position of the given angle (as Angle), computed with consideration of 2PI period.

  • 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

angleToPositivePeriodicFraction(theta: Angle): number

Parameter Type Description
theta Angle  

Returns - number

Defined in

Last Updated: 30 November, 2023