Searched refs:latRad1 (Results 1 – 1 of 1) sorted by relevance
153 public static double fastDistanceMeters(double latRad1, double lngRad1, in fastDistanceMeters() argument155 if ((Math.abs(latRad1 - latRad2) > RAD_PER_DEG) in fastDistanceMeters()157 return accurateDistanceMeters(latRad1, lngRad1, latRad2, lngRad2); in fastDistanceMeters()160 double sineLat = (latRad1 - latRad2); in fastDistanceMeters()167 double cosTerms = Math.cos((latRad1 + latRad2) / 2.0); in fastDistanceMeters()