Parameters |
Description |
const OdGePoint2d& center |
[in] Center of the arc. |
double radius |
[in] Radius of the arc. |
double startAng |
[in] Starting angle of the arc. |
double endAng |
[in] Ending angle of the arc. |
const OdGeVector2d& refVec = OdGeVector2d::kXAxis |
[in] Reference vector defining arc angle 0. |
bool isClockWise = false |
[in] If true, the arc is drawn clockwise, otherwise counterclockwise. |
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
startAng must be less than endAng. All angles are expressed in radians.
Copyright © 2002–2022. Open Design Alliance. All rights reserved.
|