irplib_wcs.h

00001 /* $Id: irplib_wcs.h,v 1.2 2009/02/12 13:49:09 lbilbao Exp $
00002  *
00003  * This file is part of the irplib package
00004  * Copyright (C) 2002,2003 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: lbilbao $
00023  * $Date: 2009/02/12 13:49:09 $
00024  * $Revision: 1.2 $
00025  * $Name: naco-4_1_2 $
00026  */
00027 
00028 #ifndef IRPLIB_WCS_H
00029 #define IRPLIB_WCS_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                    Includes
00033  -----------------------------------------------------------------------------*/
00034 
00035 #include <cpl.h>
00036 
00037 #if defined CPL_VERSION_CODE && CPL_VERSION_CODE >= CPL_VERSION(4, 8, 0)
00038 cpl_error_code irplib_wcs_xytoradec
00039 (cpl_wcs *wcs,
00040  double   x, 
00041  double   y,
00042  double * ra,
00043  double * dec);
00044 
00045 cpl_error_code irplib_wcs_radectoxy
00046 (cpl_wcs * wcs,
00047  double    ra, 
00048  double    dec,
00049  double *  x,
00050  double *  y);
00051 #endif
00052 
00053 #endif

Generated on Fri Jul 3 11:23:58 2009 for NACO Pipeline Reference Manual by  doxygen 1.5.8