public static double Bearing(this Location p1, Location p2) { return Bearing(p1.Latitude, p1.Longitude, p2.Latitude, p2.Longitude); }