API Reference > OdGe Classes > OdGeEntity3d Class > OdGeEntity3d Methods > OdGeEntity3d::rotateBy Method
OdGeEntity3d::rotateBy Method
Syntax
C++
OdGeEntity3d& rotateBy(double angle, const OdGeVector3d& vect, const OdGePoint3d& basePoint = OdGePoint3d::kOrigin);
Parameters 
Description 
double angle 
[in] Rotation angle.  
const OdGeVector3d& vect 
[in] Vector about which entitiy is rotated.  
const OdGePoint3d& basePoint = OdGePoint3d::kOrigin 
[in] Basepoint. 

Rotates this entity by the specified angle about the axis defined by the point and the vector, and returns a reference to this entity. 

 

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