Data Structures to be Used for MCS-PCS TransformationΒΆ

The data type MC_COORD_REF is foreseen for the MCS->PCS transformation in forward (MCS to PCS) and inverse (PCS to MCS) direction. The data type is defined as follows:

../_images/6b7c9e52e31bd7280a33139001f34bad

The INVERSE_MATRIX should be the inverted matrix to FORWARD_MATRIX. It is not checked if this is really true, but when this rule is not followed it will not be possible to control the MCS axes as actual positions and reference positions would differ. According to the formal rules of matrices math, a square matrix would be necessary to allow inversion. The homogeneous transformation which is used for coordinate transformations expands the matrices to 4x4, so the rules are fulfilled.

../_images/ba0fb7dbe31f05ab0a331390006d8977

Declaration example

CoordTransform_neutral:MC_COORD_REF:=\
(INVERSE_MATRIX\ :=(m:=1,0,0,0,1,0,0,0,1,0,0,0),
 FORWARD_MATRIX\ :=(m:=1,0,0,0,1,0,0,0,1,0,0,0));