Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeScale2d::setToProduct Method (const OdGeScale2d&, double)
Syntax
C++
OdGeScale2d& setToProduct(const OdGeScale2d& scaleVec, double factor);

Sets this scale vector to the product factor * scaleVec, and returns a reference to this scale vector. 

 

Parameters
Description
scaleVec
[in] Any 2D scale vector that is multiplied by .
factor
[in] Uniform scale factor.

Multiplication of scale vectors is defined as follows: 

 

scl * [xs1 ys1] = [scl*xs1 scl*ys1] [xs1 ys1 ] * [xs2 ys2] = [xs1*xs2 ys1*ys2]
Copyright © 2002-2022. Open Design Alliance All rights reserved.