Click or drag to resize

TransformGetYawPitchRoll Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.11
Syntax
public bool GetYawPitchRoll(
	out double yaw,
	out double pitch,
	out double roll
)

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 X axis.

Return Value

Type: Boolean
If true, then this = 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.
See Also