Go to the documentation of this file.
17 #ifndef __GEOMETRY_INC__
18 #define __GEOMETRY_INC__
32 #define COORDV_INFINITY INT_MAX
38 #define COORDV_EQ(a,b) ( qAbs( a - b ) < 0.0001 )
44 #define COORDV_SQR(a) qSqrt(a)
50 #define COORDV_SIN(a) qSin(a)
56 #define COORDV_COS(a) qCos(a)
62 #define COORDV_TAN(a) qTan(a)
68 #define COORDV_ASIN(a) qAsin(a)
74 #define COORDV_ACOS(a) qAcos(a)
80 #define COORDV_ATAN(a) qAtan(a)
86 #define COORDV_ATAN2(x, y) qAtan2(y, x)
92 #define COORDV_PI 3.141592653589793
98 #define COORDV_PI_DIV_2 1.5707963267948965
104 #define COORDV_PI_DIV_4 0.78539816339744825
110 #define COORDV_2_PI 6.283185307179586
115 #endif // __GEOMETRY_INC__