ArcGIS Pro 2.7 API Reference Guide
QueryCoords Method (EllipticArcBuilder)
Example 

ArcGIS.Core.Geometry Namespace > EllipticArcBuilder Class : QueryCoords Method
The center point of the ellipse.
The start angle in radians measured from the rotated x-axis.
The central angle in radians measuring the span of the arc from startAngle to endAngle. A positive value corresponds to counterclockwise orientation.
The angle in radians by which the ellipse is rotated from the x-axis. A positive value corresponds to counterclockwise rotation.
The length of the semi-major axis.
he length of the semi-minor axis.
Copies the center point, start angle, central angle, rotation angle, semi-major/semi-minor axes into the method parameters. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Sub QueryCoords( _
   ByRef centerPt As Coordinate2D, _
   ByRef startAngle As Double, _
   ByRef centralAngle As Double, _
   ByRef rotationAngle As Double, _
   ByRef semiMajorAxis As Double, _
   ByRef semiMinorAxis As Double _
) 

Parameters

centerPt
The center point of the ellipse.
startAngle
The start angle in radians measured from the rotated x-axis.
centralAngle
The central angle in radians measuring the span of the arc from startAngle to endAngle. A positive value corresponds to counterclockwise orientation.
rotationAngle
The angle in radians by which the ellipse is rotated from the x-axis. A positive value corresponds to counterclockwise rotation.
semiMajorAxis
The length of the semi-major axis.
semiMinorAxis
he length of the semi-minor axis.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The angles are in radians.
Example
// Construct a circle with center at (-1,-1), radius = 2, and oriented clockwise.
// Use a builder convenience method or use a builder constructor.

Coordinate2D centerPtCoord = new Coordinate2D(-1, -1);

// Builder convenience methods don't need to run on the MCT.
EllipticArcSegment circle = EllipticArcBuilder.CreateEllipticArcSegment(centerPtCoord, 2, esriArcOrientation.esriArcClockwise);
// circle.IsCircular = true
// circle.IsCounterClockwise = false
// circle.IsMinor = false

double startAngle, rotationAngle, centralAngle, semiMajor, semiMinor;
Coordinate2D actualCenterPt;
circle.QueryCoords(out actualCenterPt, out startAngle, out centralAngle, out rotationAngle, out semiMajor, out semiMinor);

// semiMajor = 2.0
// semiMinor = 2.0
// startAngle = PI/2
// centralAngle = -2*PI
// rotationAngle = 0
// endAngle = PI/2

// Builder constructors need to run on the MCT.
ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() =>
{
  using (EllipticArcBuilder builder = new EllipticArcBuilder(centerPtCoord, 2, esriArcOrientation.esriArcClockwise))
  {
    // do something with the builder

    EllipticArcSegment otherCircle = builder.ToSegment();
  }
});
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilder Class
EllipticArcBuilder Members