Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeQuaternion::set Method (const OdGeMatrix3d&)
Syntax
C++
OdGeQuaternion& set(const OdGeMatrix3d& matrix);

Converts passed rotation matrix into the quaternion. 

 

Parameters
Description
matrix
[in] A 3D matrix that defines components of this quaternion.

reference to this OdGeQuaternion object.

Input matrix A must be a rotation matrix, i.e. A^T = A^-1 and det(A) = 1. 

 

Copyright © 2002-2022. Open Design Alliance All rights reserved.