API Reference > OdGe Classes > OdGePoint3d Class > OdGePoint3d Methods > OdGePoint3d::rotateBy Method
OdGePoint3d::rotateBy Method
Syntax
C++
OdGePoint3d& rotateBy(double angle, const OdGeVector3d& vect, const OdGePoint3d& basePoint = OdGePoint3d::kOrigin);
Parameters 
Description 
double angle 
[in] Rotation angle in radians.  
const OdGeVector3d& vect 
[in] Axis of rotation.  
const OdGePoint3d& basePoint = OdGePoint3d::kOrigin 
[in] Basepoint relative to which rotation is computed. 

Rotates this point about the specified basePoint and axis of rotation by the specified angle. 

 

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