pi.h File Reference

Pi constants and degrees/radians conversion. More...

This graph shows which files directly or indirectly include this file:

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

Detailed Description

Pi constants and degrees/radians conversion.

Definition in file pi.h.


Define Documentation

#define INCLUDED_MATH_PI_H

Definition at line 28 of file pi.h.


Function Documentation

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.


Variable Documentation

const double c_2pi = 2 * c_pi

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_half_pi = c_pi / 2

Definition at line 31 of file pi.h.

const double c_inv_2pi = 1 / c_2pi

Definition at line 33 of file pi.h.

const double c_pi = 3.1415926535897932384626433832795

Definition at line 30 of file pi.h.

const double c_RAD2DEGMULT = 180.0 / c_pi

Definition at line 36 of file pi.h.

Referenced by radians_to_degrees().


Generated by  doxygen 1.6.2