AST_GETREGIONDisc

Returns the centre and radius of a disc containing a 2D Region

Description:

This routine returns the centre and radius of a disc that just encloses the supplied 2-dimensional Region. The centre is returned as a pair of axis values within the Frame represented by the Region. The value of the Negated attribute is ignored (i.e. it is assumed that the Region has not been negated).

Invocation

CALL AST_GETREGIONDISC( THIS, CENTRE, RADIUS, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Region.
CENTRE( 2 ) = DOUBLE PRECISION (Returned)
A two-element array in which to return the axis values at the centre of the bounding disc.
RADIUS = DOUBLE PRECISION (Returned)
The radius of the bounding disc, as a geodesic distance within the Frame represented by the Region. It will be returned holding AST__BAD If the Region is unbounded.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: