Home
last modified time | relevance | path

Searched refs:bearing_radians (Results 1 – 2 of 2) sorted by relevance

/dports/comms/xastir/Xastir-Release-2.1.8/src/
H A Ddraw_symbols.c1110 off_x = *i * cos(bearing_radians); in draw_half_barbs()
1111 off_y = *i * sin(bearing_radians); in draw_half_barbs()
1151 off_x = *i * cos(bearing_radians); in draw_full_barbs()
1152 off_y = *i * sin(bearing_radians); in draw_full_barbs()
1193 off_x = *i * cos(bearing_radians); in draw_triangle_flags()
1194 off_y = *i * sin(bearing_radians); in draw_triangle_flags()
1239 off_x = *i * cos(bearing_radians); in draw_square_flags()
1240 off_y = *i * sin(bearing_radians); in draw_square_flags()
1293 float bearing_radians; in draw_wind_barb() local
1414 bearing_radians, in draw_wind_barb()
[all …]
H A Dutil.c3607 double bearing_radians, lat_M_radians; in compute_DR_position() local
3619 bearing_radians = (double)((course/360.0) * 2.0 * M_PI); in compute_DR_position()
3637 lat_B = (float)((double)(lat_A) + (range/60.0) * cos(bearing_radians)); in compute_DR_position()
3647 + (range/60.0) * ( sin(bearing_radians) / cos(lat_M_radians)) ); in compute_DR_position()
3745 double bearing_radians, lat_M_radians; in compute_current_DR_position() local
3813 bearing_radians = (double)((my_course/360.0) * 2.0 * M_PI); in compute_current_DR_position()
3831 lat_B = (float)((double)(lat_A) + (range/60.0) * cos(bearing_radians)); in compute_current_DR_position()
3841 + (range/60.0) * ( sin(bearing_radians) / cos(lat_M_radians)) ); in compute_current_DR_position()