![]() |
This document is archived and information here might be outdated. Recommended version. |
Defines this path, ring, polyline or polygon to contain a single circular arc segment that is closed.
[Visual Basic .NET] Public Sub SetCircle ( _ ByVal cp As IPoint, _ ByVal circleRadius As Double _ )
[C#] public void SetCircle ( IPoint cp, double circleRadius );
[C++]
HRESULT SetCircle(
IPoint* cp,
double circleRadius
);
[C++] Parameters cp
cp is a parameter of type IPoint* circleRadius
circleRadius is a parameter of type double
Sets a SegmentCollection equal to a single segment CircularArc. The CircularArc is a complete circle centered at the input point with a given input Radius. After SetCircle is called, the SegmentCollection contains only the CiruclarArc (regardless of what it may have contained previously). The To and From Points at located at the top (Pi/2 Radians) of the circle.
ISegmentCollection Interface | ISegmentCollection.SetCircle Method | IConstructCircularArc.ConstructCircle Method