Description:

Find sthe Tait-Byran angles, also loosely called Euler angles, for this quaternion.

Syntax:
public bool GetYawPitchRoll(
out double yaw,
out double pitch,
out double roll
)
Parameters:
  • yaw
  • Type: double
  • Angle, in radians, to rotate about the ZAxis.
  • pitch
  • Type: double
  • Angle, in radians, to rotate about the YAxis.
  • roll
  • Type: double
  • Angle, in radians, to rotate about the XAxis.
Returns:
Type: bool
True if successful, or False if this is not a rotation.
Remarks:
When true, 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. roll and yaw are in the range (-pi, pi], and pitch is in [-pi/2, pi/2].
Available since:
8.0

GetYawPitchRoll method

Class:  Rhino.Geometry.Quaternion

Nothing found