Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeScale3d::setToProduct Method (const OdGeScale3d&, double)
Syntax
C++
OdGeScale3d& setToProduct(const OdGeScale3d& 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 3D scale vector that is multiplied with the provided scale uniform scale factor.
factor
[in] Uniform scale factor.

Multiplication of scale vectors is defined as follows: 

 

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