Transform.GetYawPitchRoll Method

TransformGetYawPitchRoll Method

Find the Tait-Byran angles (also loosely called Euler angles) for a rotation transformation.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool GetYawPitchRoll(
	out double yaw,
	out double pitch,
	out double roll
)
Public Function GetYawPitchRoll ( 
	<OutAttribute> ByRef yaw As Double,
	<OutAttribute> ByRef pitch As Double,
	<OutAttribute> ByRef roll As Double
) As Boolean

Parameters

yaw
Type: SystemDouble
Angle of rotation, in radians, about the Z axis.
pitch
Type: SystemDouble
Angle of rotation, in radians, about the Y axis.
roll
Type: SystemDouble
Angle of rotation, in radians, about the Z axis.

Return Value

Type: Boolean
If true, then 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. If false, then this is not a rotation.
Version Information

Rhino for Windows

Supported in: 6.14
See Also