AST_ELLIPSEPARS

Returns the geometric parameters of an Ellipse

Description:

This routine returns the geometric parameters describing the supplied ellipse.

Invocation

CALL AST_ELLIPSEPARS( THIS, CENTRE, A, B, ANGLE, P1, P2, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Region.
CENTRE( 2 ) = DOUBLE PRECISION (Returned)
The coordinates of the Ellipse centre are returned in this arrays.
A = DOUBLE PRECISION (Returned)
Returned holding the half-length of the first axis of the ellipse.
B = DOUBLE PRECISION (Returned)
Returned holding the half-length of the second axis of the ellipse.
ANGLE = DOUBLE PRECISION (Returned)
If the coordinate system in which the Ellipse is defined has axes (X,Y), then ANGLE is returned holding the angle from the positive direction of the Y axis to the first axis of the ellipse, in radians. Positive rotation is in the same sense as rotation from the positive direction of Y to the positive direction of X.
P1( 2 ) = DOUBLE PRECISION (Returned)
An array in which to return the coordinates at one of the two ends of the first axis of the ellipse.
P2( 2 ) = DOUBLE PRECISION (Returned)
An array in which to return the coordinates at one of the two ends of the second axis of the ellipse.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: