API Reference > OdGe Classes > OdGeQuaternion Class > OdGeQuaternion Methods > OdGeQuaternion::getMatrix Method
OdGeQuaternion::getMatrix Method
Syntax
C++
OdGeMatrix3d getMatrix() const;

OdGeMatrix3d object representing this quaternion.

Calculates 3D rotation matrix that represents this quaternion.

This quaternion should be normalized, i.e. norm() should be equal to one. 

 

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