API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Methods > setToProduct Method > OdGeScale3d::setToProduct Method (OdGeScale3d&, OdGeScale3d&)
OdGeScale3d::setToProduct Method (OdGeScale3d&, OdGeScale3d&)
Syntax
C++
OdGeScale3d& setToProduct(const OdGeScale3d& scaleVec1, const OdGeScale3d& scaleVec2);
Parameters 
Description 
const OdGeScale3d& scaleVec1 
[in] Any 3D scale vector that is multiplied with the second scale vector.  
const OdGeScale3d& scaleVec2 
[in] Any 3D scale vector that is multiplied with the first scale vector. 

Sets this scale vector to the product scaleVec1 * scaleVec2 and returns a reference to this scale vector. 

 

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–2020. Open Design Alliance. All rights reserved.