functionrotateVector

Calculates the coordinates of a rotated 3D vector

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.Length[3]vOriginal vector
Modelica.Units.SI.Length[3]axisVector of the rotation axis
Modelica.Units.SI.AnglethetaRotation angle

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.Length[3]vrRotated vector