double function ( GeoPoint arg0 , GeoPoint arg1 ) { double loc0 = arg0 . getLatitudeE6 ( ) / ( double ) MILLION ; double loc1 = arg0 . getLongitudeE6 ( ) / ( double ) MILLION ; double loc2 = arg1 . getLatitudeE6 ( ) / ( double ) MILLION ; double loc3 = arg1 . getLongitudeE6 ( ) / ( double ) MILLION ; return distanceKm ( loc0 , loc1 , loc2 , loc3 ) ; }
computes the distance in kilometers between two points on earth . concode_field_sep int MILLION concode_elem_sep int EARTH_RADIUS_KM concode_field_sep double radToBearing concode_elem_sep double bearing concode_elem_sep double bearing