34 t = typ ==
Rad ? 2 * cPI<T>() : 360;
43 while ( usrdeg >= 360 ) usrdeg -= 360;
44 while ( usrdeg < 0 ) usrdeg += 360;
54 if ( deg < 0 ) deg += 360;
76 if ( inptyp == outtyp ||
mIsUdf(val) )
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:285
T cPI()
Definition: angles.h:29
#define M_PIl
Definition: commondefs.h:69
float toDegrees(float r)
Definition: math2.h:101
T usrdeg2rad(T udeg)
Definition: angles.h:67
T rad2usrdeg(T rad)
Definition: angles.h:60
float toRadians(float d)
Definition: math2.h:103
T usrdeg2deg(T udeg)
User degrees are from North, clockwise.
Definition: angles.h:51
Type
Definition: angles.h:25
void getFullCircle(Type typ, T &t)
Definition: angles.h:32
T convert(Type inptyp, T val, Type outtyp)
Definition: angles.h:74
T deg2usrdeg(T deg)
User degrees are from North, clockwise.
Definition: angles.h:40