ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / CentralAngle Property
Example

In This Topic
    CentralAngle Property (EllipticArcBuilderEx)
    In This Topic
    Gets or sets the central angle in radians.
    Syntax
    Public Property CentralAngle As Double
    public double CentralAngle {get; set;}

    Property Value

    A double representing the central angle.
    Exceptions
    ExceptionDescription
    The CentralAngle is NaN.
    Remarks
    The central angle is the angular measure between the StartAngle and the EndAngle. It is measured in radians and is always between -2 * PI and 2 * PI. If the elliptic arc is oriented in a counterclockwise direction, then the central angle > 0. Otherwise, the central angle < 0. Changing the central angle may also change the end point, end angle, and orientation.
    Example
    Elliptic Arc Builder Properties
    {
      // retrieve the curve's properties
      EllipticArcBuilderEx builder = new EllipticArcBuilderEx(ellipticArcSegment);
      MapPoint startPt = builder.StartPoint;
      MapPoint endPt = builder.EndPoint;
      Coordinate2D centerPt = builder.CenterPoint;
      bool isCircular = builder.IsCircular;
      bool isMinor = builder.IsMinor;
      double startAngle = builder.StartAngle;
      double endAngle = builder.EndAngle;
      double centralAngle = builder.CentralAngle;
      double rotationAngle = builder.RotationAngle;
      ArcOrientation orientation = builder.Orientation;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also