Searched refs:lat2 (Results 1 – 6 of 6) sorted by relevance
64 double lat2 = ToRadians(end.GetLatitude()); in GetDistance()67 double deltalat = lat2 - lat1; in GetDistance()70 …th.Sin(deltalat / 2) * Math.Sin(deltalat / 2) + Math.Cos(lat1) * Math.Cos(lat2) * Math.Sin(deltalo… in GetDistance()
126 var lat2 = toRadians(end.latitude / COORD_FACTOR);130 var deltalat = lat2-lat1;133 Math.cos(lat1) * Math.cos(lat2) *
116 var lat2 = toRadians(end.getLatitude() / COORD_FACTOR);120 var deltalat = lat2-lat1;123 Math.cos(lat1) * Math.cos(lat2) *
192 double lat2 = o.lat().radians(); in getDistance() local195 double dlat = Math.sin(0.5 * (lat2 - lat1)); in getDistance()197 double x = dlat * dlat + dlng * dlng * Math.cos(lat1) * Math.cos(lat2); in getDistance()
280 double lat2 = toRadians(RouteGuideUtil.getLatitude(end));283 double deltaLat = lat2 - lat1;287 + cos(lat1) * cos(lat2) * sin(deltaLon / 2) * sin(deltaLon / 2);
310 double lat2 = TIME_UNITS_PER_SEC*(qopt->limit/(double)prate64) - tc_core_tick2time(qopt->mtu); in tbf_print_opt() local312 if (lat2 > latency) in tbf_print_opt()313 latency = lat2; in tbf_print_opt()