API Reference > OdGe Classes > OdGeEntity2d Class > OdGeEntity2d Methods > OdGeEntity2d::rotateBy Method
OdGeEntity2d::rotateBy Method
Syntax
C++
OdGeEntity2d& rotateBy(double angle, const OdGePoint2d& basePoint = OdGePoint2d::kOrigin);
Parameters 
Description 
double angle 
[in] Rotation angle.  
const OdGePoint2d& basePoint = OdGePoint2d::kOrigin 
[in] Basepoint. 

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

 

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