angleToUnboundedFraction Method

Return the fractionalized position of the given angle (as Angle) computed without consideration of 2PI period and without consideration of angle sweep direction (CW or CCW).

  • the start angle is at fraction 0
  • the end angle is at fraction 1
  • interior angles are between 0 and 1
  • negative fraction for angles "before" the start angle if start < end
  • fraction larger than one for angles "after" the end angle if start < end
  • fraction larger than one for angles "before" the start angle if start > end
  • negative fraction for angles "after" the end angle if start > end
  • does not allow period shift

angleToUnboundedFraction(theta: Angle): number

@returns unbounded fraction, or 1 if sweep is empty.

Parameter Type Description
theta Angle  

Returns - number

unbounded fraction, or 1 if sweep is empty.

Defined in

Last Updated: 17 December, 2024