public static double distance ( LatLong latLong1 , LatLong latLong2 ) { return Math . hypot ( latLong1 . longitude - latLong2 . longitude , latLong1 . latitude - latLong2 . latitude ) ; }
Calculate the Euclidean distance between two LatLongs in degrees using the Pythagorean theorem .