Pi constants and degrees/radians conversion. More...
Go to the source code of this file.
Defines | |
#define | INCLUDED_MATH_PI_H |
Functions | |
double | radians_to_degrees (double radians) |
double | degrees_to_radians (double degrees) |
Variables | |
const double | c_pi = 3.1415926535897932384626433832795 |
const double | c_half_pi = c_pi / 2 |
const double | c_2pi = 2 * c_pi |
const double | c_inv_2pi = 1 / c_2pi |
const double | c_DEG2RADMULT = c_pi / 180.0 |
const double | c_RAD2DEGMULT = 180.0 / c_pi |
Pi constants and degrees/radians conversion.
Definition in file pi.h.
double degrees_to_radians | ( | double | degrees | ) | [inline] |
Definition at line 42 of file pi.h.
References c_DEG2RADMULT.
double radians_to_degrees | ( | double | radians | ) | [inline] |
Definition at line 38 of file pi.h.
References c_RAD2DEGMULT.
Definition at line 32 of file pi.h.
Referenced by draw_arrowhead().
const double c_DEG2RADMULT = c_pi / 180.0 |
Definition at line 35 of file pi.h.
Referenced by degrees_to_radians().
const double c_RAD2DEGMULT = 180.0 / c_pi |
Definition at line 36 of file pi.h.
Referenced by radians_to_degrees().