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.
 

Scaling matrix.

Returns the matrix that scales entities by a scale factor relatively to the center. 

 

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