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

Rotates this point about the specified basePoint by the specified angle. 

 

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