ArcGIS Pro 2.9 API Reference Guide
CreateEllipticArcSegment(MapPoint,MapPoint,Double,Double,Double,MinorOrMajor,esriArcOrientation,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > EllipticArcBuilderEx Class > CreateEllipticArcSegment Method : CreateEllipticArcSegment(MapPoint,MapPoint,Double,Double,Double,MinorOrMajor,esriArcOrientation,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. 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.
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. 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.
Exceptions
ExceptionDescription
semiMajorAxis, minorMajorRatio or rotationAngle is NaN.
startPt or endPt is null.
An elliptic arc construction operation was given invalid axes. The minorMajorRatio should be < 1.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilderEx Class
EllipticArcBuilderEx Members
Overload List