API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Methods > OdGeScale3d::removeScale Method
OdGeScale3d::removeScale Method
Syntax
C++
OdGeScale3d& removeScale(OdGeMatrix3d& xfm, bool negateX = false);
Parameters 
Description 
OdGeMatrix3d& xfm 
[out] Receives the 3D transformation matrix.  
bool negateX = false 
[in] Specifies which implementation is used. 

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. If negateX is true, the old ODA Platform implementation is used. Otherwise ACAD implementation is used.

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