This document is archived and information here might be outdated.  Recommended version.


ISegmentCollection.SetCircle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.SetCircle Method
ArcGIS Developer Help

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 | ISegmentCollection.SetCircle Method | IConstructCircularArc.ConstructCircle Method