6#include <QtCore/QtGlobal>
7#if QT_VERSION < 0x050000
9#define qInf std::numeric_limits<double>::infinity
10inline bool qIsNaN(
double x){
return x != x; }
19static const double I_PI = 3.14159265358979323846;
24static const double I_2PI = 6.2831853071795864769;
42 return degree / 180.0 *
I_PI;
48 return radian * 180.0 /
I_PI;
static const double I_PI
Mathematical constant value PI.
static const double I_2PI
Mathematical constant value 2 * PI.
Package with mathematical functions and algebraical primitives.
double GetDegreeFromRadian(double radian)
double GetRadianFromDegree(double degree)