Exemplo n.º 1
0
 public SteerPoint(LocationObject location, int speed, string name, bool @protected = false)
     : this(location.Latitude, location.Longitude, speed, name, @protected)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Return the distance between two location objects in KMs
 /// </summary>
 /// <param name="location1"></param>
 /// <param name="location2"></param>
 /// <returns></returns>
 public static double DistanceKM(LocationObject location1, LocationObject location2)
 {
     return(DistanceKM(location1.Latitude, location1.Longitude, location2.Latitude, location2.Longitude));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Return the bearing between two location objects in radians
 /// </summary>
 /// <param name="location1"></param>
 /// <param name="location2"></param>
 /// <returns></returns>
 public static double BearingRadians(LocationObject location1, LocationObject location2)
 {
     return(BearingRadians(location1.Latitude, location1.Longitude, location2.Latitude, location2.Longitude));
 }
Exemplo n.º 4
0
 public static void PointFrom(LocationObject location, double θ, double distance, ref double φo, ref double λo)
 {
     PointFrom(location.Latitude, location.Longitude, θ, distance, ref φo, ref λo);
 }
Exemplo n.º 5
0
 public RunwayPoint(LocationObject location, int speed, string name, string operations)
     : this(location.Latitude, location.Longitude, speed, name, operations)
 {
 }