Share

AcGeCircArc2d::AcGeCircArc2d

C++

GE_DLLEXPIMPORT AcGeCircArc2d(
    const AcGePoint2d& startPoint, 
    const AcGePoint2d& endPoint, 
    double bulge, 
    Adesk::Boolean bulgeFlag = Adesk::kTrue
);

Description

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, then bulge is interpreted to be the tangent of 1/4 the included angle (tan(ang/4)), where ang is the angle of the arc segment between the two input points.

Parameters

Parameters Description
startPoint Input start point of arc
endPoint Input endpoint of arc
bulge Input bulge distance
bulgeFlag Input how to interpret bulge distance for arc calculation

Links

AcGeCircArc2d

Was this information helpful?