Struct CoordinateInterop#
Defined in File misc_types.h
Struct Documentation#
-
struct CoordinateInterop#
This structure gives the coordinates (of a sub-block) for a set of dimension. The bit at position
i
indimensions_valid
indicates whether the coordinate for dimensioni+1
is valid. So, bit 0 is corresponding to dimension 1 (=Z), bit 1 to dimension 2 (=C), and so on. In the fixed-sized arrayvalue
, the coordinate for the dimensions is stored. The element at position 0 corresponds to the first valid dimension, the element at position 1 to the second valid dimension, and so on. An example would be:dimensions_valid
= 0b00000011,value
= { 0, 2 }. This would mean that the dimension ‘Z’ is valid, and the coordinate for ‘Z’ is 0, and the dimension ‘C’ is valid, and the coordinate for ‘C’ is 2.Public Members
-
std::uint32_t dimensions_valid#
Bitfield indicating which dimensions are valid. Bit-position
i
corresponds to dimensioni+1
.
-
std::int32_t value[kMaxDimensionCount]#
The coordinate values, the element 0 corresponds the first set flag in dimensions_valid and so on.
-
std::uint32_t dimensions_valid#