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.
|