astGetRegionDisc

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

Description:

This function returns the centre and radius of a disce 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).

Synopsis

void GetRegionDisc( AstRegion this, double centre[3], double radius )

Parameters:

this
Pointer to the Region.
centre
Pointer to a two-element array in which to return the axis values at the centre of the bounding disc.
radius
Pointer to a variable in which to return 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.

Notes: