ArcGIS Pro 2.7 API Reference Guide
EllipticArcBuilder Constructor(MapPoint,MapPoint,Coordinate2D)
Example 

ArcGIS.Core.Geometry Namespace > EllipticArcBuilder Class > EllipticArcBuilder Constructor : EllipticArcBuilder Constructor(MapPoint,MapPoint,Coordinate2D)
The point from which the arc starts.
The point to which the arc ends.
An interior point of the arc.
Builds a new instance of the EllipticArcBuilder class. The new instance will be a circular arc from three points. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public EllipticArcBuilder( 
   MapPoint startPt,
   MapPoint endPt,
   Coordinate2D interiorPt
)
Public Function New( _
   ByVal startPt As MapPoint, _
   ByVal endPt As MapPoint, _
   ByVal interiorPt As Coordinate2D _
)

Parameters

startPt
The point from which the arc starts.
endPt
The point to which the arc ends.
interiorPt
An interior point of the arc.
Exceptions
ExceptionDescription
Incompatible spatial references. The spatial reference of the MapPoints do not match.
This method or property must be called within the lambda passed to QueuedTask.Run.
startPt or endPt is null.
Example
// Construct a circular arc from (2, 1) to (1, 2) with interior pt (1 + sqrt(2)/2, 1 + sqrt(2)/2).
// Use a builder convenience method or use a builder constructor.

MapPoint fromPt = MapPointBuilder.CreateMapPoint(2, 1);
MapPoint toPt = MapPointBuilder.CreateMapPoint(1, 2);
Coordinate2D interiorPt = new Coordinate2D(1 + Math.Sqrt(2) / 2, 1 + Math.Sqrt(2) / 2);

// Builder convenience methods don't need to run on the MCT.
EllipticArcSegment circularArc = EllipticArcBuilder.CreateEllipticArcSegment(fromPt, toPt, interiorPt);

// Builder constructors need to run on the MCT.
ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() =>
{
  using (EllipticArcBuilder cab = new EllipticArcBuilder(fromPt, toPt, interiorPt))
  {
    // do something with the builder

    EllipticArcSegment anotherCircularArc = cab.ToSegment();
  }
});
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilder Class
EllipticArcBuilder Members
Overload List