RhinoCommon API
TransformRotationZYX Method |
Create rotation transformation From Tait-Byran angles (also loosely known as Euler angles).
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Transform RotationZYX( double yaw, double pitch, double roll )
Public Shared Function RotationZYX ( yaw As Double, pitch As Double, roll As Double ) As Transform
Parameters
- yaw
- Type: SystemDouble
Angle, in radians, to rotate about the Z axis. - pitch
- Type: SystemDouble
Angle, in radians, to rotate about the Y axis. - roll
- Type: SystemDouble
Angle, in radians, to rotate about the X axis.
Return Value
Type: TransformA transform matrix from Tait-Byran angles.

RotationZYX(yaw, pitch, roll) = R_z(yaw) * R_y(pitch) * R_x(roll)
where R_*(angle) is rotation of angle radians about the corresponding world coordinate axis.

Rhino for Windows
Supported in: 6.14