Choreonoid  1.8
Namespaces | Functions | Variables
MathUtil.h File Reference
#include <cmath>

Go to the source code of this file.

Namespaces

 cnoid
 

Functions

double cnoid::degree (double rad)
 
double cnoid::radian (double deg)
 
float cnoid::degree (float rad)
 
float cnoid::radian (float deg)
 
double cnoid::radian (int deg)
 
template<int precision>
double cnoid::reducePrecision (double x)
 

Variables

constexpr double cnoid::PI = 3.141592653589793238462643383279502884
 
constexpr double cnoid::PI_2 = 1.570796326794896619231321691639751442
 
constexpr double cnoid::TO_DEGREE = 180.0 / PI
 
constexpr double cnoid::TO_RADIAN = PI / 180.0