36 t = typ ==
Rad ? 2 * cPI<T>() : 360;
45 while ( usrdeg >= 360 ) usrdeg -= 360;
46 while ( usrdeg < 0 ) usrdeg += 360;
56 if ( deg < 0 ) deg += 360;
78 if ( inptyp == outtyp ||
mIsUdf(val) )
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:287
T cPI()
Definition: angles.h:31
#define M_PIl
Definition: commondefs.h:67
float toDegrees(float r)
Definition: math2.h:97
T usrdeg2rad(T udeg)
Definition: angles.h:69
T rad2usrdeg(T rad)
Definition: angles.h:62
float toRadians(float d)
Definition: math2.h:99
T usrdeg2deg(T udeg)
User degrees are from North, clockwise.
Definition: angles.h:53
Type
Definition: angles.h:27
void getFullCircle(Type typ, T &t)
Definition: angles.h:34
T convert(Type inptyp, T val, Type outtyp)
Definition: angles.h:76
T deg2usrdeg(T deg)
User degrees are from North, clockwise.
Definition: angles.h:42