next up previous
Next: astSetStatus - Set the AST error status to an explicit value
Up: AST Function Descriptions
Previous: astSetActiveUnit - Specify how the Unit attribute should be used

   
astSetRefPos - Set the reference position in a specified celestial coordinate system

Description:
This function sets the reference position (see attributes RefRA and RefDec) using axis values (in radians) supplied within the celestial coordinate system represented by a supplied SkyFrame.

Synopsis:
void astSetRefPos( AstSpecFrame *this, AstSkyFrame *frm, double lon, double lat )

Parameters:
this
Pointer to the SpecFrame.
frm
Pointer to the SkyFrame which defines the celestial coordinate system in which the longitude and latitude values are supplied. If NULL is supplied, then the supplied longitude and latitude values are assumed to be FK5 J2000 RA and Dec values.
lon
The longitude of the reference point, in the coordinate system represented by the supplied SkyFrame (radians).
lat
The latitude of the reference point, in the coordinate system represented by the supplied SkyFrame (radians).



next up previous
Next: astSetStatus - Set the AST error status to an explicit value
Up: AST Function Descriptions
Previous: astSetActiveUnit - Specify how the Unit attribute should be used

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils