API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > OdGeVector2d::rotateBy Method
OdGeVector2d::rotateBy Method
Syntax
C++
OdGeVector2d& rotateBy(double angle);
Parameters 
Description 
double angle 
[in] Rotation angle. 

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

 

Rotation angle is specified in radians. Rotation is performed counterclockwise if specified value is positive.

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