Searched refs:lng2 (Results 1 – 1 of 1) sorted by relevance
377 public static double computeDLong(double lng1, double lng2) { in computeDLong() argument378 if (lng1 - lng2 == 0) { in computeDLong()383 if (lng1 >= 0 & lng2 >= 0) { in computeDLong()384 return -(lng1 - lng2) * 60; in computeDLong()387 if (lng1 < 0 & lng2 < 0) { in computeDLong()388 return -(lng1 - lng2) * 60; in computeDLong()394 if (Math.abs(lng1) + Math.abs(lng2) < 180) { in computeDLong()395 if (lng1 < 0 & lng2 > 0) { in computeDLong()396 return -(Math.abs(lng1) + Math.abs(lng2)) * 60; in computeDLong()398 return Math.abs(lng1) + Math.abs(lng2) * 60; in computeDLong()[all …]