API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > setToProduct Method > OdGeVector3d::setToProduct Method (OdGeVector3d&, double)
OdGeVector3d::setToProduct Method (OdGeVector3d&, double)
Syntax
C++
OdGeVector3d& setToProduct(const OdGeVector3d& vect, double scale);
Parameters 
Description 
const OdGeVector3d& vect 
[in] Any 3D vector.  
double scale 
[in] Scale factor. 

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

 

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