axisReturn unit vector for x-, y-, or z-axis |
|
This information is part of the Modelica Standard Library maintained by the Modelica Association.
e = Frames.axis(axis);
A unit vector e is returned depending on whether x-, y-, or z-axis is required.
axis | e
-------+-----------
1 | {1,0,0}
2 | {1,0,0}
3 | {1,0,0}
| axis |
Type: Integer Description: Axis vector to be returned |
|---|
| e |
Type: Real[3] Description: Unit axis vector |
|---|