API Reference > OdGe Classes > OdGeScale2d Class > OdGeScale2d Methods > OdGeScale2d::removeScale Method
OdGeScale2d::removeScale Method
Syntax
C++
OdGeScale2d& removeScale(OdGeMatrix2d& xfm);
Parameters 
Description 
OdGeMatrix2d& xfm 
[out] Receives the 2D transformation matrix. 

Returns the scale vector corresponding to the lengths of the column vectors of the transformation matrix, and sets the scale factor of the matrix to 1 . 

 

xfm must be scaled ortho; i.e., xfm.isScaledOrtho() == true.

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