34//#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC) //only moc this file in itomCommonQtLib but not in other libraries or executables linking against this itomCommonQtLib
35//
36//#define PRIM_ELEMENTLENGTH 11 /** \brief number of elements within the geometricPrimitives */
37//
38//
40//* \brief This union was defined for adressing geometricPrimitives.
41// \detail The union geometricPrimitives contains an array called cells with the size of PRIM_ELEMENTLENGTH.
42// The cells contain:
43// 0. The unique index of the current primitive, castable to int32 with a maximum up to 16bit index values
44// 1. Type flag 0000FFFF and further flags e.g. read&write only FFFF0000
45// 2. First coordinate with x value
46// 3. First coordinate with y value
47// 4. First coordinate with z value
48// All other values depends on the primitiv type and may change between each type.
49// A point is defined as idx, flags, centerX0, centerY0, centerZ0
50// A line is defined as idx, flags, x0, y0, z0, x1, y1, z1
51// A ellipse is defined as idx, flags, centerX, centerY, centerZ, r1, r2
52// A circle is defined as idx, flags, centerX, centerY, centerZ, r
53// A rectangle is defined as idx, flags, x0, y0, z0, x1, y1, z1, alpha
54// A square is defined as idx, flags, centerX, centerY, centerZ, a, alpha
55// A polygon is defined as idx, flags, posX, posY, posZ, directionX, directionY, directionZ, idx, numIdx