API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > OdGeVector3d::rotateBy Method
OdGeVector3d::rotateBy Method
Syntax
C++
OdGeVector3d& rotateBy(double angle, const OdGeVector3d& axis);
Parameters 
Description 
double angle 
[in] Rotation angle.  
const OdGeVector3d& axis 
[in] Axis of rotation. 

Rotates this vector the specified angle about the specified axis, and returns a reference to this vector. 

 

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