API Reference > OdGe Classes > OdGePoint2d Class > OdGePoint2d Methods > OdGePoint2d::scaleBy Method
OdGePoint2d::scaleBy Method
Syntax
C++
OdGePoint2d& scaleBy(double scaleFactor, const OdGePoint2d& basePoint = kOrigin);
Parameters 
Description 
double scaleFactor 
[in] Scale Factor. The scale factor must be greater than zero.  
const OdGePoint2d& basePoint = kOrigin 
[in] Basepoint relative to which scaling is computed. 

Scales this point by the scale factor about the basepoint. 

 

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