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] 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–2020. Open Design Alliance. All rights reserved.
|