API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Methods > OdGeScale3d::extractScale Method
OdGeScale3d::extractScale Method
Syntax
C++
OdGeScale3d& extractScale(const OdGeMatrix3d& xfm);
Parameters 
Description 
const OdGeMatrix3d& xfm 
[out] Receives the 3D 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.