Calculates the coordinates of a rotated 3D vector
function rotateVector input Modelica.Units.SI.Length v[3] "Original vector"; input Modelica.Units.SI.Length axis[3] "Vector of the rotation axis"; input Modelica.Units.SI.Angle theta "Rotation angle"; output Modelica.Units.SI.Length vr[3] "Rotated vector"; end rotateVector;