Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeMatrix3d::setToRotation Method
Syntax
C++
OdGeMatrix3d& setToRotation(double angle, const OdGeVector3d& axis, const OdGePoint3d& center = OdGePoint3d::kOrigin);

Sets this matrix to the matrix which is rotated by a specified angle about an axis passing through the center, and returns a reference to this matrix. 

 

Parameters
Description
angle
[in] Rotation angle.
axis
[in] Rotation axis.
center
[in] Center of rotation.

Reference to this matrix.

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