functionplanarRotation
Return orientation object of a planar rotation
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
T = TransformationMatrices.planarRotation(e, angle);
Description
This function returns transformation matrix T that describes the orientation to rotate in the plane along unit axis e from frame 1 into frame 2 with angle angle. Note, "e" must be a unit vector. However, this is not checked in this function and the function will return a wrong result, if length(e) is not one.
See also
planarRotationAngle, Frames.planarRotation, Quaternions.planarRotation.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3] | e | Normalized axis of rotation (must have length=1) | |
| SI.Angle | angle | Rotation angle to rotate frame 1 into frame 2 along axis e |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| TransformationMatrices.Orientation | T | Orientation object to rotate frame 1 into frame 2 |