Home
last modified time | relevance | path

Searched refs:lat1 (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
DNavCalculator.java211 public static double computeDMPClarkeSpheroid(double lat1, double lat2) { in computeDMPClarkeSpheroid() argument
212 double absLat1 = Math.abs(lat1); 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
242 float absLat1 = Math.abs(lat1); 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java243 private static void computeDistanceAndBearing(double lat1, double lon1, in computeDistanceAndBearing() argument
250 lat1 *= Math.PI / 180.0; in computeDistanceAndBearing()
262 double U1 = Math.atan((1.0 - f) * Math.tan(lat1)); in computeDistanceAndBearing()