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 arc.  
const OdGeVector3d& normal 
[in] A vector normal to the plane of the arc  
const OdGeVector3d& refVec 
[in] The reference vector defining arc angle 0. 
double radius 
[in] Radius of arc.  
double startAng 
[in] Starting angle of arc.  
double endAng 
[in] Ending angle of 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 it length is endAng - startAng. 

startAng must be less than endAng.

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