Пример #1
0
 /// <summary>
 /// Gets the angle of the vector in degrees from the X+ axis. Will return result in the range
 /// -180 to +180. Will return 0 for null vector.
 /// </summary>
 public decimal Angle()
 {
     return(DecimalEx.ToDeg(DecimalEx.ATan2(Y, X)));
 }