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

Returns the scale vector corresponding to the lengths of the column vectors of the transformation matrix. 

 

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

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