示例#1
0
        public static bool IsEqual(Angle a1, Angle a2)
        {
            double a = Math.Abs(a1.Radian - a2.Radian);

            return(a < epsa || Math.PI * 2.0 - a < epsa);
        }
示例#2
0
 public static bool IsNull(Angle a)
 {
     return(Math.Abs((double)a) < epsa);
 }