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

Sets this matrix to the matrix which scales by scale about center, and returns a reference to this matrix. 

 

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