trigValuesToHalfAngleTrigValues MethodStatic

Return cosine, sine, and radians for the half angle of a "cosine,sine" pair.

  • This function assumes the input arguments are related to an angle between -PI and PI
  • This function returns an angle between -PI and PI

trigValuesToHalfAngleTrigValues(rCos2A: number, rSin2A: number): TrigValues

Parameter Type Description
rCos2A number cosine value (scaled by radius) for initial angle.
rSin2A number sine value (scaled by radius) for final angle.

Returns - TrigValues

Defined in

Last Updated: 30 November, 2023