Searched refs:lat1 (Results 1 – 1 of 1) sorted by relevance
176 public static double accurateDistanceMeters(double lat1, double lng1, in accurateDistanceMeters() argument178 double dlat = Math.sin(0.5 * (lat2 - lat1)); in accurateDistanceMeters()180 double x = dlat * dlat + dlng * dlng * Math.cos(lat1) * Math.cos(lat2); in accurateDistanceMeters()