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

Sets this point to point + vect, and returns a reference to this point. 

 

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