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

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

 

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