AcGeCircArc2d Constructor
Overload List
Method |
Description |
---|
AcGeCircArc2d::AcGeCircArc2d () |
Default constructor. Constructs a full circle with center (0,0) and radius 1. |
AcGeCircArc2d::AcGeCircArc2d (AcGeCircArc2d&) |
Constructs a 2D arc that is a copy of the input arc. |
AcGeCircArc2d::AcGeCircArc2d (AcGeCircArc2d&&) |
Move constructor. |
AcGeCircArc2d::AcGeCircArc2d (AcGePoint2d&, AcGePoint2d&, AcGePoint2d&) |
Constructs an arc through three points. None of the three points may be coincident and they may not be colinear. This constructor always constructs a bounded arc and cannot be used to construct a full circle. |
AcGeCircArc2d::AcGeCircArc2d (AcGePoint2d&, AcGePoint2d&, double, Adesk::Boolean) |
Constructs an arc with the specified start and endpoints. If a line is drawn between startPoint and endPoint, then the distance between this line and the midpoint of the constructed arc is equal to the bulge distance. The direction of the constructed arc is always counterclockwise. startPoint must be different than endPoint. This constructor always constructs a bounded arc and cannot be used to construct a full circle. If bulgeFlag is Adesk::kTrue, then bulge is interpreted to be the maximum distance between the arc and the chord between the two input points. If bulgeFlag is Adesk::kFalse,... more |
AcGeCircArc2d::AcGeCircArc2d (AcGePoint2d&, double) |
Constructs a full circle with the given center and radius. The radius must not be 0. |
AcGeCircArc2d::AcGeCircArc2d (AcGePoint2d&, double, double, double, AcGeVector2d&, Adesk::Boolean) |
Constructs a circular arc with the specified center, radius, start angle, and end angle. 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 last parameter specifies whether the angle is to be taken clockwise or counterclockwise. endAngle must be greater than startAngle. To construct a full circle, the difference between endAngle and startAngle should be 2 x Pi. |