itom  3.0.0
geometricPrimitives Struct Reference

This union was defined for adressing geometricPrimitives. The union geometricPrimitives contains an array called cells with the size of PRIM_ELEMENTLENGTH. The cells contain: 0. The unique index of the current primitive, castable to int32 with a maximum up to 16bit index values. More...

#include <sharedStructuresPrimitives.h>

Detailed Description

This union was defined for adressing geometricPrimitives. The union geometricPrimitives contains an array called cells with the size of PRIM_ELEMENTLENGTH. The cells contain: 0. The unique index of the current primitive, castable to int32 with a maximum up to 16bit index values.

  1. Type flag 0000FFFF and further flags e.g. read&write only FFFF0000
  2. First coordinate with x value
  3. First coordinate with y value
  4. First coordinate with z value All other values depends on the primitiv type and may change between each type. A point is defined as idx, flags, centerX0, centerY0, centerZ0 A line is defined as idx, flags, x0, y0, z0, x1, y1, z1 A ellipse is defined as idx, flags, centerX, centerY, centerZ, r1, r2 A circle is defined as idx, flags, centerX, centerY, centerZ, r A rectangle is defined as idx, flags, x0, y0, z0, x1, y1, z1, alpha A square is defined as idx, flags, centerX, centerY, centerZ, a, alpha A polygon is defined as idx, flags, posX, posY, posZ, directionX, directionY, directionZ, idx, numIdx
    Author
    Wolfram Lyda, twip optical solutions GmbH, Stuttgart
    Date
    12.2013

The documentation for this struct was generated from the following file: