AutoOpenQuaternion Module
When Euclid is opened this module will be auto-opened. It only contains extension members for type Quaternion.
Type extensions
Type extension |
Description
|
Full Usage:
Quaternion.createFromRigidMatrix orthoMatrix
Parameters:
RigidMatrix
Returns: Quaternion
|
Returns the rotation defined in and RigidMatrix's 3x3 part.
Extended Type:
|
Full Usage:
Quaternion.tryCreateFromMatrix matrix
Parameters:
Matrix
Returns: Quaternion option
|
If the matrix is affine and has no shear or scaling it returns the rotation defined in its 3x3 part.
Extended Type:
|