axisRotationReturn rotation object to rotate around one frame axis |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
T = TransformationMatrices.axisRotation(axis, angle);
This function returns transformation matrix T that describes the orientation to rotate along unit axis axis from frame 1 into frame 2 with angle angle. For example, TransformationMatrices.axisRotation(2, phi) returns the same orientation object as with the call TransformationMatrices.planarRotation({0,1,0}, phi)
axis |
Type: Integer Description: Rotate around 'axis' of frame 1 |
---|---|
angle |
Type: Angle (rad) Description: Rotation angle to rotate frame 1 into frame 2 along 'axis' of frame 1 |
T |
Type: Orientation Description: Orientation object to rotate frame 1 into frame 2 |
---|