Esempio n. 1
0
 /// <summary>
 /// Normalize angle in rads to be from 0 to 2PI.
 /// </summary>
 /// <param name="rads">Normalized angle in rads</param>
 /// <returns>Normalized angle.</returns>
 public static double NormalizeAngle(double rads)
 {
     return(AngleUtils.NormalizeAngle(rads));
 }
Esempio n. 2
0
 /// <summary>
 /// Normalize angle in degree to be from 0 to 360°.
 /// </summary>
 /// <param name="degree">Normalized angle in degree</param>
 /// <returns>Normalized angle.</returns>
 public static double NormalizeDegree(double degree)
 {
     return(AngleUtils.NormalizeAngle(degree));
 }