Next: astOffset - Calculate an offset along a geodesic curve
Up: AST Function Descriptions
Previous: astNullRegion - Create a NullRegion
astOK
-
Test whether AST functions have been successful
- Description:
- This macro returns a boolean value (0 or 1) to indicate if
preceding AST functions have completed successfully
(i.e. without setting the AST error status). If the error status
is set to an error value, a value of zero is returned, otherwise
the result is one.
- Synopsis:
- int astOK
- Returned Value:
-
astOK
-
One if the AST error status is OK, otherwise zero.
- Notes:
- If the AST error status is set to an error value (after an
error), most AST functions will not execute and will simply
return without action. To clear the error status and restore
normal behaviour, use astClearStatus.
Next: astOffset - Calculate an offset along a geodesic curve
Up: AST Function Descriptions
Previous: astNullRegion - Create a NullRegion
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council