ArcObjects Library Reference (Geometry)  

ISegmentCollection.SetCircle Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ISegmentCollection Interface | IConstructCircularArc.ConstructCircle Method | ISegmentCollection.SetCircle Method