ArcGIS Pro 3.2 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 double CentralAngle {get; set;}
    Public Property CentralAngle As Double

    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(arcSegment);
    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also