public static Azimuth_And_Distance_Type ToPolarFromCarteisan(double Vx, double Vy)
{
Azimuth_And_Distance_Type ReturnValue = new Azimuth_And_Distance_Type();
ReturnValue.Distance = Math.Pow((Math.Pow(Vx, 2) + Math.Pow(Vy, 2)), 0.5);
ReturnValue.Azimuth = (Math.Atan2(Vx, Vy) * (180.0 / Math.PI));
return ReturnValue;
}