API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > OdGeVector2d::setToSum Method
OdGeVector2d::setToSum Method
Syntax
C++
OdGeVector2d& setToSum(const OdGeVector2d& vector1, const OdGeVector2d& vector2);
Parameters 
Description 
const OdGeVector2d& vector1 
[in] Any 2D vector.  
const OdGeVector2d& vector2 
[in] Any 2D vector. 

Sets this vector to vector1 + vector1, and returns a reference to this vector. 

 

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