Description

Get parameters for an elliptical feature.

Return Type

None  

Syntax

object.GetEllipse lIndex, Cx, Cy, MajAx, MinAx, MajAngle

The GetEllipse Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRegions.
lIndexRequired. A Long value.

long : Index of subregion to report ellipse parameters for.

CxRequired. A Double value.

double* : x-coordinate of the center of the ellipse

CyRequired. A Double value.

double* : y-coordinate of the center of the ellipse

MajAxRequired. A Double value.

double* : length of the major axis (pixels)

MinAxRequired. A Double value.

double* : length of the minor axis (pixels)

MajAngleRequired. A Double value.

double* : orientation of the major axis (not implemented)

Remarks

The FeatureType for the lIndex feature must be mcftEllipse or an error will result.