|
libnova
v 0.15.0
|
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_MERCURY_H 00020 #define _LN_MERCURY_H 00021 00022 #include <libnova/ln_types.h> 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00039 double LIBNOVA_EXPORT ln_get_mercury_sdiam (double JD); 00040 00045 int LIBNOVA_EXPORT ln_get_mercury_rst (double JD, struct ln_lnlat_posn * observer, struct ln_rst_time * rst); 00046 00051 /* Chapter 31 Pg 206-207 Equ 31.1 31.2 , 31.3 using VSOP 87 */ 00052 void LIBNOVA_EXPORT ln_get_mercury_helio_coords (double JD, struct ln_helio_posn * position); 00053 00054 00059 /* Chapter 31 Pg 206-207 Equ 31.1 31.2 , 31.3 using VSOP 87 */ 00060 void LIBNOVA_EXPORT ln_get_mercury_equ_coords (double JD, struct ln_equ_posn * position); 00061 00067 /* Chapter ?? */ 00068 double LIBNOVA_EXPORT ln_get_mercury_earth_dist (double JD); 00069 00075 /* Chapter ?? */ 00076 double LIBNOVA_EXPORT ln_get_mercury_solar_dist (double JD); 00077 00083 /* Chapter ?? */ 00084 double LIBNOVA_EXPORT ln_get_mercury_magnitude (double JD); 00085 00091 /* Chapter 41 */ 00092 double LIBNOVA_EXPORT ln_get_mercury_disk (double JD); 00093 00099 /* Chapter 41 */ 00100 double LIBNOVA_EXPORT ln_get_mercury_phase (double JD); 00101 00102 00107 void LIBNOVA_EXPORT ln_get_mercury_rect_helio (double JD, struct ln_rect_posn * position); 00108 00109 #ifdef __cplusplus 00110 }; 00111 #endif 00112 00113 #endif
1.7.5.1