API Reference > OdGe Classes > OdGeCircArc3d Class > OdGeCircArc3d Methods > set Method > OdGeCircArc3d::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
OdGeCircArc3d::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
Syntax
C++
OdGeCircArc3d& set(const OdGePoint3d& center, const OdGeVector3d& normal, const OdGeVector3d& refVec, double radius, double startAng, double endAng);
Parameters 
Description 
const OdGePoint3d& center 
[in] Center of the arc.  
const OdGeVector3d& normal 
[in] Vector normal to the plane of the arc.  
const OdGeVector3d& refVec 
[in] Reference vector defining arc angle 0. 
double radius 
[in] Radius of the arc.  
double startAng 
[in] Starting angle of the arc.  
double endAng 
[in] Ending angle of the arc.  

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

 

To construct a circle, set endAng = startAng + Oda2PI. 

All angles are expressed in radians. In common case parameter (paramOf, evalPoint, evaluate) interval is NOT equal to [startAng; endAng]! But its length is equal to endAng - startAng. startAng must be less than endAng.

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