double function ( PositionSensor arg0 , Position arg1 , String arg2 ) { return DistanceTo . distanceFromTo ( arg0 . getLongitude ( ) , arg0 . getLatitude ( ) , arg1 . getLon ( ) , arg1 . getLat ( ) , arg2 ) ; }
calculates the distance between two positions given by a sensor and in the parameters concode_field_sep PositionSensor pos concode_field_sep double howFarTo concode_elem_sep double deg2rad concode_elem_sep double rad2deg concode_elem_sep double distanceTo concode_elem_sep double distanceTo