RhinoCommon API
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
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 X axis.
Return Value
Type: BooleanIf 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.