rotz(angle)
Features
This function returns a rotation matrix that rotates by the angle value along the z-axis.
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
angle | float | 0 | Rotating angle [deg] |
Return
Value | Description |
---|---|
float[3][3] | Rotation matrix |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
rotm = rotz(30)