This document is archived and information here might be outdated. Recommended version. |
Constructs a circle of a given radius and orientation.
[Visual Basic .NET] Public Sub ConstructCircle ( _ ByVal CenterPoint As IPoint, _ ByVal Radius As Double, _ ByVal isCCW As Boolean _ )
[C#] public void ConstructCircle ( IPoint CenterPoint, double Radius, bool isCCW );
[C++]
HRESULT ConstructCircle(
IPoint* CenterPoint,
double Radius,
VARIANT_BOOL isCCW
);
[C++] Parameters CenterPoint
CenterPoint is a parameter of type IPoint* Radius
Radius is a parameter of type double isCCW
isCCW is a parameter of type bool
Constructs a complete circle given the Center Point, the Radius of the circle, and the desired Orientation. The From and To Points are located on the YMax point of the CircularArc.
-isCCW stands for "is counter clockwise"
public ICircularArc CreateCircleArc(IPoint point, double radius, bool isCCW) { ICircularArc circularArc = new CircularArcClass(); IConstructCircularArc construtionCircularArc = circularArc as IConstructCircularArc; construtionCircularArc.ConstructCircle(point, radius, isCCW); return circularArc; }
Public Function CreateCArcFull(ByVal pCPoint As ESRI.ArcGIS.Geometry.IPoint, ByVal Radius As Double, _
ByVal IsCCW As Boolean) As ESRI.ArcGIS.Geometry.ICircularArc
Dim pConstCArc As ESRI.ArcGIS.Geometry.IConstructCircularArc
pConstCArc = New ESRI.ArcGIS.Geometry.CircularArc
pConstCArc.ConstructCircle(pCPoint, Radius, IsCCW)
CreateCArcFull = pConstCArc
End Function
IConstructCircularArc Interface | ISegmentCollection.SetCircle Method | IConstructCircularArc.ConstructCircle Method