API Reference > OdGe Classes > OdGeCircArc2d Class > OdGeCircArc2d Methods > set Method > OdGeCircArc2d::set Method (OdGePoint2d&, OdGePoint2d&, double, bool)
OdGeCircArc2d::set Method (OdGePoint2d&, OdGePoint2d&, double, bool)
Syntax
C++
OdGeCircArc2d& set(const OdGePoint2d& startPoint, const OdGePoint2d& endPoint, double bulge, bool bulgeFlag = true);
Parameters 
Description 
const OdGePoint2d& startPoint 
[in] Startpoint of arc.  
const OdGePoint2d& endPoint 
[in] Endpoint of arc.  
double bulge 
[in] Specifies the bulge of the arc.  
bool bulgeFlag = true 
[in] Specifies how bulge is to be interpreted. 

Sets the parameters for this arc according to the arguments, and returns a reference to this arc. 

 

If bulgeFlag == true, then bulge is the maximum distance from the arc to a chord between the start and endpoints. 

If bulgeFlag == false, the bulge is the tangent of 1/4 the included angle of the arc.

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