SMC_PosInfo_Trf_Mult (FUN)

FUNCTION SMC_PosInfo_Trf_Mult : BOOL

Multiplies two transformations described by PosInfo objects. The combined transformation is that of first applying trfRhs and then applying trfLhs, that is trfC(x) = (trfLhs ° trfRhs) (x) = trfLhs(trfRhs(x)). A transformation is given as an offset + an optional rotation (only used if orientation convention is not ADDAXES).

Can be used in order to manually transform positions from one coordinate system (PCS) to the other (MCS), instead of using G54 and SMC_NCDecoder (e.g. for jogging applications). Given the representation of PCS in MCS-coordinates inside trfLhs and the desired position in PCS-coordinates inside trfRhs, trfC will hold the same position in MCS-coordinates.

InOut:

Scope

Name

Type

Return

SMC_PosInfo_Trf_Mult

BOOL

Inout

trfC

SMC_POSINFO

Inout Const

trfLhs

SMC_POSINFO

trfRhs

SMC_POSINFO

Input

eOriConv

SMC_ORI_CONVENTION