T_inv = TransformationMatrices.inverseRotation(T);
This function returns transformation matrix T_inv that describes the orientation to rotate from frame 2 to frame 1 from the transformation matrix T that describes the orientation to rotate from frame 1 into frame 2.
Frames.inverseRotation, Quaternions.inverseRotation.
function inverseRotation extends Modelica.Icons.Function; input TransformationMatrices.Orientation T "Orientation object to rotate frame 1 into frame 2"; output TransformationMatrices.Orientation T_inv "Orientation object to rotate frame 2 into frame 1"; end inverseRotation;