T = Quaternions.to_T(Q);
This function returns a real matrix T computed from a quaternions orientation Q. The matrix T is considered to be an object transformation matrix.
from_T, to_T_inv, Frames.to_T, TransformationMatrices.to_T.
function to_T extends Modelica.Icons.Function; input Quaternions.Orientation Q "Quaternions orientation object to rotate frame 1 into frame 2"; output Real T[3, 3] "Transformation matrix to transform vector from frame 1 to frame 2 (v2=T*v1)"; end to_T;