Пример #1
0
 /// <summary>
 /// Convert given polar coordinates to a cartesian vector.
 /// </summary>
 /// <param name="p">Polar coordinates to convert</param>
 /// <returns></returns>
 public static Vector FromPolar(Polar p)
 {
     return(p.ToVector());
 }
Пример #2
0
 protected bool Equals(Polar other)
 {
     return(Angle.Equals(other.Angle) && Radius.Equals(other.Radius));
 }