ArcObjects Library Reference (Geometry)  

IEllipticArc.GetAxes Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Remarks

The Axes can be set using PutAxes.

EllipticArc GetAxes Example

See Also

IEllipticArc Interface