6#define M_PI 3.14159265358979323846
23 bool isNaN()
const {
return std::isnan(_rads); }
44 _T rad()
const {
return _rads; }
56Angle
operator"" _deg(
long double d);
57Angle
operator"" _rad(
long double r);
58Angle
operator"" _deg(
unsigned long long int d);
59Angle
operator"" _rad(
unsigned long long int r);
#define M_PI
Definition: RBCXAngle.h:6
Definition: RBCXAngle.h:11
Angle & operator+=(Angle a)
Definition: RBCXAngle.h:25
Angle & operator/=(_T c)
Definition: RBCXAngle.h:38
bool isNaN() const
Definition: RBCXAngle.h:23
_T deg() const
Definition: RBCXAngle.h:43
Angle operator-() const
Definition: RBCXAngle.h:33
Angle()
Definition: RBCXAngle.h:16
static const Angle Pi
Definition: RBCXAngle.h:14
static Angle nan()
Definition: RBCXAngle.h:21
_T rad() const
Definition: RBCXAngle.h:44
static Angle rad(_T r)
Definition: RBCXAngle.h:19
Angle & operator*=(_T c)
Definition: RBCXAngle.h:34
float _T
Definition: RBCXAngle.h:13
static Angle deg(_T d)
Definition: RBCXAngle.h:20
Angle & operator-=(Angle a)
Definition: RBCXAngle.h:29
Definition: RBCXAngle.cpp:3
Angle operator*(Angle a, Angle::_T c)
Definition: RBCXAngle.cpp:17
Angle operator-(Angle a, Angle b)
Definition: RBCXAngle.cpp:12
Angle operator/(Angle a, Angle::_T c)
Definition: RBCXAngle.cpp:22
Angle operator+(Angle a, Angle b)
Definition: RBCXAngle.cpp:7