Compose a transformation

HELP: command help for AimsComposeTransformation

DATA: no data.

Let's imagine you have 3 referentials: R1, R2 and R3. You know R1->R2 (R1_TO_R2.trm) and R2->R3 (R2_TO_R3.trm). To compute R1->R3:

prompt% AimsComposeTransformation -i R2_TO_R3.trm R1_TO_R2.trm -o R1_TO_R3.trm

NOTE_1: be aware, the order of transformation matrices is very important, this one is right -i R2_TO_R3.trm R1_TO_R2.trm but the following is completely wrong -i R1_TO_R2.trm R1_TO_R3.trm.

NOTE_2: if you have R3_TO_R2.trm and not R2_TO_R3.trm, you must first inverse this transformation matrix by using AimsInvertTransformation .