#include <constants.h>
Static Public Member Functions | |
static Float | deg_per_rad () |
static Float | e () |
static Float | inv_pi () |
static Float | inv_two_pi () |
static Float | pi () |
static Float | pi_over_2 () |
static Float | pi_over_4 () |
static Float | rad_per_deg () |
static Float | sqrt_2 () |
static Float | sqrt_3 () |
static Float | sqrt_5 () |
static Float | sqrt_6 () |
static Float | two_pi () |
Either float or double can be used.
Definition at line 39 of file constants.h.
static Float cml::constants< Float >::deg_per_rad | ( | ) | [inline, static] |
Definition at line 46 of file constants.h.
References M_PI.
Referenced by cml::deg().
static Float cml::constants< Float >::e | ( | ) | [inline, static] |
static Float cml::constants< Float >::inv_pi | ( | ) | [inline, static] |
static Float cml::constants< Float >::inv_two_pi | ( | ) | [inline, static] |
static Float cml::constants< Float >::pi | ( | ) | [inline, static] |
Definition at line 40 of file constants.h.
References M_PI.
Referenced by cml::matrix_to_axis_angle().
static Float cml::constants< Float >::pi_over_2 | ( | ) | [inline, static] |
Definition at line 44 of file constants.h.
References M_PI.
Referenced by cml::cartesian_to_spherical(), and cml::spherical_to_cartesian().
static Float cml::constants< Float >::pi_over_4 | ( | ) | [inline, static] |
static Float cml::constants< Float >::rad_per_deg | ( | ) | [inline, static] |
Definition at line 47 of file constants.h.
References M_PI.
Referenced by cml::rad().
static Float cml::constants< Float >::sqrt_2 | ( | ) | [inline, static] |
static Float cml::constants< Float >::sqrt_3 | ( | ) | [inline, static] |
Definition at line 50 of file constants.h.
static Float cml::constants< Float >::sqrt_5 | ( | ) | [inline, static] |
Definition at line 51 of file constants.h.
static Float cml::constants< Float >::sqrt_6 | ( | ) | [inline, static] |
Definition at line 52 of file constants.h.
static Float cml::constants< Float >::two_pi | ( | ) | [inline, static] |