libnova  v 0.15.0
vsop87.h
00001 /*
00002  *  This library is free software; you can redistribute it and/or
00003  *  modify it under the terms of the GNU Lesser General Public
00004  *  License as published by the Free Software Foundation; either
00005  *  version 2 of the License, or (at your option) any later version.
00006  *
00007  *  This library is distributed in the hope that it will be useful,
00008  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00009  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00010  *  Lesser General Public License for more details.
00011  *
00012  *  You should have received a copy of the GNU General Public License
00013  *  along with this program; if not, write to the Free Software
00014  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00015  *  
00016  *  Copyright (C) 2000 - 2005 Liam Girdwood  
00017  */
00018 
00019 #ifndef _LN_VSOP87_H
00020 #define _LN_VSOP87_H
00021 
00022 #include <libnova/ln_types.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00038 /* equation 31.3 Pg 207         */
00039 /* JD Julian Day */
00040 void LIBNOVA_EXPORT ln_vsop87_to_fk5 (struct ln_helio_posn * position, double JD);
00041 
00042 
00043 struct ln_vsop
00044 {
00045         double A;
00046         double B;
00047         double C;
00048 };
00049 
00050 
00051 double LIBNOVA_EXPORT ln_calc_series (const struct ln_vsop * data, int terms, double t);
00052 
00053 #ifdef __cplusplus
00054 };
00055 #endif
00056 
00057 #endif