API Reference > OdGe Classes > OdGeMatrix2d Class > OdGeMatrix2d Methods > OdGeMatrix2d::rotation Method
OdGeMatrix2d::rotation Method
Syntax
C++
static OdGeMatrix2d rotation(double angle, const OdGePoint2d& center = OdGePoint2d::kOrigin);
Parameters 
Description 
double angle 
[in] Rotation angle.  
const OdGePoint2d& center = OdGePoint2d::kOrigin 
[in] Center of rotation. 

Returns the matrix which rotates by angle about center. 

 

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