|
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_TRANSFORM_H 00020 #define _LN_TRANSFORM_H 00021 00022 #include <libnova/ln_types.h> 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00037 /* Use get_mean_sidereal_time, get_hrz_from_equ_siderealtime */ 00038 void LIBNOVA_EXPORT ln_get_hrz_from_equ (struct ln_equ_posn * object, struct ln_lnlat_posn * observer, double JD, struct ln_hrz_posn *position); 00039 00045 /* Equ 12.5,12.6 pg 88 */ 00046 void LIBNOVA_EXPORT ln_get_hrz_from_equ_sidereal_time (struct ln_equ_posn * object, struct ln_lnlat_posn * observer, double sidereal, struct ln_hrz_posn *position); 00047 00052 /* Equ 12.3, 12.4 pg 89 */ 00053 void LIBNOVA_EXPORT ln_get_equ_from_ecl (struct ln_lnlat_posn * object, double JD, struct ln_equ_posn * position); 00054 00059 /* Equ 12.1, 12.2 Pg 88 */ 00060 void LIBNOVA_EXPORT ln_get_ecl_from_equ (struct ln_equ_posn * object, double JD, struct ln_lnlat_posn * position); 00061 00066 /* Pg 89 */ 00067 void LIBNOVA_EXPORT ln_get_equ_from_hrz (struct ln_hrz_posn *object, struct ln_lnlat_posn * observer, double JD, struct ln_equ_posn * position); 00068 00073 /* Pg ?? */ 00074 void LIBNOVA_EXPORT ln_get_rect_from_helio (struct ln_helio_posn *object, struct ln_rect_posn * position); 00075 00080 /* Equ 33.2 00081 */ 00082 void LIBNOVA_EXPORT ln_get_ecl_from_rect (struct ln_rect_posn * rect, struct ln_lnlat_posn * posn); 00083 00088 /* Pg 94 */ 00089 void LIBNOVA_EXPORT ln_get_equ_from_gal (struct ln_gal_posn *gal, struct ln_equ_posn *equ); 00090 00095 void LIBNOVA_EXPORT ln_get_equ2000_from_gal (struct ln_gal_posn *gal, struct ln_equ_posn *equ); 00096 00101 /* Pg 94 */ 00102 void LIBNOVA_EXPORT ln_get_gal_from_equ (struct ln_equ_posn *equ, struct ln_gal_posn *gal); 00103 00108 void LIBNOVA_EXPORT ln_get_gal_from_equ2000 (struct ln_equ_posn *equ, struct ln_gal_posn *gal); 00109 00110 #ifdef __cplusplus 00111 }; 00112 #endif 00113 00114 #endif
1.7.5.1