ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / CreateCircularArc Method / CreateCircularArc(MapPoint,MapPoint,Coordinate2D,ArcOrientation,SpatialReference) Method
The point from which the arc starts.
The point to which the arc ends.
The center point of the embedded circle.
The orientation of the arc, clockwise or counterclockwise.
(Optional) The spatial reference. The default value is null. The spatial references of the start and end points are ignored.
Example Version

CreateCircularArc(MapPoint,MapPoint,Coordinate2D,ArcOrientation,SpatialReference) Method
Convenience method to create a new instance of the EllipticArcSegment class. The segment will be a circular arc built from end points and the center point.
Syntax

Parameters

startPt
The point from which the arc starts.
endPt
The point to which the arc ends.
centerPt
The center point of the embedded circle.
orientation
The orientation of the arc, clockwise or counterclockwise.
spatialReference
(Optional) The spatial reference. The default value is null. The spatial references of the start and end points are ignored.

Return Value

Exceptions
Remarks
The xy-tolerance from the spatial reference is used to create the elliptic arc. If the spatial reference is null, then a default tolerance is used which may cause unexpected results.
Example
Construct a Circular Arc - using a center point and orientation
// Construct a circular arc from (2, 1) to (1, 2) 
// with center point at (1, 1) and orientation counterclockwise.
// Use a builderEx convenience method or use a builderEx constructor.

MapPoint toPt = MapPointBuilderEx.CreateMapPoint(1, 2);
MapPoint fromPt = MapPointBuilderEx.CreateMapPoint(2, 1);
Coordinate2D centerPtCoord = new Coordinate2D(1, 1);

// BuilderEx convenience methods don't need to run on the MCT.
EllipticArcSegment circularArc = EllipticArcBuilderEx.CreateCircularArc(fromPt, toPt, centerPtCoord, ArcOrientation.ArcCounterClockwise);

// BuilderEx constructors need to run on the MCT.
EllipticArcBuilderEx cab = new EllipticArcBuilderEx(fromPt, toPt, centerPtCoord, ArcOrientation.ArcCounterClockwise);
EllipticArcSegment otherCircularArc = cab.ToSegment();
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also