ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / CreateEllipticArcSegment Method / CreateEllipticArcSegment(MapPoint,MapPoint,Double,Double,Double,MinorOrMajor,ArcOrientation,SpatialReference) Method
The start point of the elliptic arc.
The end point of the elliptic arc.
The length of the semi-major axis.
The ratio of the length of the semi-minor axis to the length of the semi-major axis. The absolute value must be < 1.
The angle in radians by which the ellipse is rotated from the X-axis. A positive value corresponds to counterclockwise rotation.
The enumeration value indicating whether the arc is a minor or major arc. A minor arc is an arc such that the central angle is less than PI radians.
The value indicating if the arc is oriented clockwise or counterclockwise.
(Optional) The spatial reference. The default value is null. The spatial reference of the start point is ignored.
Version

CreateEllipticArcSegment(MapPoint,MapPoint,Double,Double,Double,MinorOrMajor,ArcOrientation,SpatialReference) Method
Convenience method to create a new instance of the EllipticArcSegment class. The new instance will be an elliptic arc.
Syntax

Parameters

startPt
The start point of the elliptic arc.
endPt
The end point of the elliptic arc.
semiMajorAxis
The length of the semi-major axis.
minorMajorRatio
The ratio of the length of the semi-minor axis to the length of the semi-major axis. The absolute value must be < 1.
rotationAngle
The angle in radians by which the ellipse is rotated from the X-axis. A positive value corresponds to counterclockwise rotation.
minorOrMajor
The enumeration value indicating whether the arc is a minor or major arc. A minor arc is an arc such that the central angle is less than PI radians.
orientation
The value indicating if the arc is oriented clockwise or counterclockwise.
spatialReference
(Optional) The spatial reference. The default value is null. The spatial reference of the start point is ignored.
Exceptions
ExceptionDescription
startPt or endPt is null or empty.
semiMajorAxis, minorMajorRatio or rotationAngle is NaN.
An elliptic arc construction operation was given invalid axes. The absolute value of minorMajorRatio is > 1.
An elliptic arc construction operation was given invalid axes. It is not possible to construct the elliptic arc with the given axes.
The start and end points cannot have the same xy-coordinates for this method.
Remarks
If minorMajorRatio is equal to one, then a circular arc will be created and the rotation angle will be equal to zero.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also