API Reference > OdGe Classes > OdGeMatrix3d Class > OdGeMatrix3d Methods > setToScaling Method > OdGeMatrix3d::setToScaling Method (double, OdGePoint3d&)
OdGeMatrix3d::setToScaling Method (double, OdGePoint3d&)
Syntax
C++
OdGeMatrix3d& setToScaling(double scale, const OdGePoint3d& center = OdGePoint3d::kOrigin);
Parameters 
Description 
double scale 
[in] Scale factor.  
const OdGePoint3d& center = OdGePoint3d::kOrigin 
[in] Center of scaling.
 

Reference to this matrix.

Sets this matrix to the matrix which is scaled by a scale factor about the center of scaling, and returns a reference to this matrix. 

 

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