functionrotateVector
Calculates the coordinates of a rotated 3D vector
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length[3] | v | Original vector | |
| Modelica.Units.SI.Length[3] | axis | Vector of the rotation axis | |
| Modelica.Units.SI.Angle | theta | Rotation angle |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length[3] | vr | Rotated vector |