Home
last modified time | relevance | path

Searched refs:lat2 (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
DNavCalculator.java211 public static double computeDMPClarkeSpheroid(double lat1, double lat2) { in computeDMPClarkeSpheroid() argument
213 double absLat2 = Math.abs(lat2); in computeDMPClarkeSpheroid()
226 if ((lat1 <= 0 && lat2 <= 0) || (lat1 > 0 && lat2 > 0)) { in computeDMPClarkeSpheroid()
241 public static float computeDMPWGS84Spheroid(float lat1, float lat2) { in computeDMPWGS84Spheroid() argument
243 float absLat2 = Math.abs(lat2); in computeDMPWGS84Spheroid()
251 if (lat1 <= 0 & lat2 <= 0 || lat1 > 0 & lat2 > 0) { in computeDMPWGS84Spheroid()
450 public static double computeDLat(double lat1, double lat2) { in computeDLat() argument
454 if (lat1 - lat2 == 0) { in computeDLat()
459 if (lat1 >= 0 & lat2 >= 0) { in computeDLat()
460 return -(lat1 - lat2) * 60; in computeDLat()
[all …]
/external/iproute2/tc/
Dq_tbf.c268 …double lat2 = TIME_UNITS_PER_SEC*(qopt->limit/(double)qopt->peakrate.rate) - tc_core_tick2time(qop… in tbf_print_opt() local
269 if (lat2 > latency) in tbf_print_opt()
270 latency = lat2; in tbf_print_opt()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java244 double lat2, double lon2, float[] results) { in computeDistanceAndBearing() argument
251 lat2 *= Math.PI / 180.0; in computeDistanceAndBearing()
263 double U2 = Math.atan((1.0 - f) * Math.tan(lat2)); in computeDistanceAndBearing()