API Reference > OdGe Classes > OdGePosition2d Class > OdGePosition2d Methods > set Method > OdGePosition2d::set Method (double, double)
OdGePosition2d::set Method (double, double)
Syntax
C++
OdGePosition2d& set(double x, double y);
Parameters 
Description 
double x 
[in] The X-coordinate of the position.  
double y 
[in] The Y-coordinate of the position. 

Sets the coordinates of, and returns a reference to, this point. 

 

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