API Reference > OdGe Classes > OdGeCircArc2d Class > OdGeCircArc2d Methods > set Method > OdGeCircArc2d::set Method (OdGeCurve2d&, OdGeCurve2d&, double, double&, double&, bool&)
OdGeCircArc2d::set Method (OdGeCurve2d&, OdGeCurve2d&, double, double&, double&, bool&)
Syntax
C++
OdGeCircArc2d& set(const OdGeCurve2d& curve1, const OdGeCurve2d& curve2, double radius, double& param1, double& param2, bool& success);
Parameters 
Description 
const OdGeCurve2d& curve1 
[in] First curve to define a tangent arc.  
const OdGeCurve2d& curve2 
[in] Second curve to define a tangent arc.  
double radius 
[in] Radius of arc.  
double& param1 
[out] Receives the parameter corresponding tangency point on curve1.  
double& param2 
[out] Receives the parameter corresponding tangency point on curve2.  
bool& success 
[out] Receives true if and only if the tan-tan-radius or tan-tan-tan curve could be constructed. If false, this arc is unmodified. 

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

 

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