API Reference > OdGe Classes > OdGeCircArc2d Class > OdGeCircArc2d Constructor > OdGeCircArc2d::OdGeCircArc2d Constructor (OdGePoint2d&, double, double, double, OdGeVector2d&, bool)
OdGeCircArc2d::OdGeCircArc2d Constructor (OdGePoint2d&, double, double, double, OdGeVector2d&, bool)
Syntax
C++
OdGeCircArc2d(const OdGePoint2d& center, double radius, double startAng, double endAng, const OdGeVector2d& refVec = OdGeVector2d::kXAxis, bool isClockWise = false);
Parameters 
Description 
const OdGePoint2d& center 
[in] Center of arc.  
double radius 
[in] Radius of arc.  
double startAng 
[in] Starting angle of arc.  
double endAng 
[in] Ending angle of arc.  
const OdGeVector2d& refVec = OdGeVector2d::kXAxis 
[in] The reference vector defining arc angle 0.  
bool isClockWise = false 
[in] Specifies whether the circle arc is oriented clockwise. 

details Constructor for the OdGeCircArc2d class.

The constructor creates a circle arc with the specified parameters. To construct a circle, set endAng = startAng + Oda2PI. 

All angles are expressed in radians. startAng must be less than endAng.

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