API Reference > OdGe Classes > OdGeCircArc3d Class > OdGeCircArc3d Constructor > OdGeCircArc3d::OdGeCircArc3d Constructor (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
OdGeCircArc3d::OdGeCircArc3d Constructor (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
Syntax
C++
OdGeCircArc3d(const OdGePoint3d& center, const OdGeVector3d& normal, const OdGeVector3d& refVec, double radius, double startAng = 0, double endAng = Oda2PI);
Parameters 
Description 
const OdGePoint3d& center 
[in] Center of an arc.  
const OdGeVector3d& normal 
[in] Normal vector of a 3D circle.  
const OdGeVector3d& refVec 
[in] The reference vector defining arc angle 0.  
double radius 
[in] Radius of the circular arc.  
double startAng = 0 
[in] Starting angle of an arc.  
double endAng = Oda2PI 
[in] Ending angle of an arc. 

details Constructor for the OdGeCircArc3d class.

The constructor creates a circular arc with the specified parameters. 

Angles are measured by drawing a vector between a point on the arc and the center point and taking the angle between this vector and refVec. 

The angle is measured in a counterclockwise direction about the normal vector. 

The normal vector must be perpendicular to refVec, and endAngle must be greater than startAngle. All angles are expressed in radians. 

To construct a full circle, specify the endAngle and startAngle, so the difference between them is 2 x Pi. In common case parameter(paramOf,evalPoint,evaluate) interval is NOT equal to [startAng; endAng]! But it length is endAng - startAng.

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