createFromMatrix3d MethodStatic

Attempts to create a YawPitchRollAngles object from an Matrix3d

  • This conversion fails if the matrix is not rigid (unit rows and columns, transpose is inverse)
  • In the failure case the method's return value is undefined.
  • In the failure case, if the optional result was supplied, that result will nonetheless be filled with a set of angles.

createFromMatrix3d(matrix: Matrix3d, result?: YawPitchRollAngles): YawPitchRollAngles | undefined

Parameter Type Description
matrix Matrix3d  
result YawPitchRollAngles  

Returns - YawPitchRollAngles | undefined

Defined in

Last Updated: 13 June, 2024