This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEllipticArc Interface > IEllipticArc.GetAxes Method (ArcObjects .NET 10.4 SDK) |
Gets the semi-major and semi-minor axes.
[Visual Basic .NET] Public Sub GetAxes ( _ ByRef semiMajor As Double, _ ByRef semiMinor As Double, _ ByRef minorMajorRatio As Double _ )
[C#] public void GetAxes ( ref double semiMajor, ref double semiMinor, ref double minorMajorRatio );
[C++]
HRESULT GetAxes(
double* semiMajor,
double* semiMinor,
double* minorMajorRatio
);
[C++]
Parameters semiMajor [in, out] semiMajor is a parameter of type double semiMinor [in, out] semiMinor is a parameter of type double minorMajorRatio [in, out] minorMajorRatio is a parameter of type double
Returns the Major Axis, the Minor Axis, and the ratio of the Minor Axis to the Major Axis. The Major Axis is the larger of the two Axes, and the Minor Axis is the smaller Axis. The Major Axis always lies on the line between 0 and Pi Radians in EllipseStd, and the Minor Axis always lies on the line between Pi/2 and 3*Pi/2 Radian in EllipseStd.
The Axes can be set using PutAxes.