API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > setToProduct Method > OdGeVector2d::setToProduct Method (OdGeVector2d&, double)
OdGeVector2d::setToProduct Method (OdGeVector2d&, double)
Syntax
C++
OdGeVector2d& setToProduct(const OdGeVector2d& vect, double scale);
Parameters 
Description 
const OdGeVector2d& vect 
[in] Any 2D 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.