|
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_HYPERBOLIC_MOTION_H 00020 #define _LN_HYPERBOLIC_MOTION_H 00021 00022 #include <libnova/ln_types.h> 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00039 double LIBNOVA_EXPORT ln_solve_hyp_barker (double Q1, double G, double t); 00040 00045 double LIBNOVA_EXPORT ln_get_hyp_true_anomaly (double q, double e, double t); 00046 00051 double LIBNOVA_EXPORT ln_get_hyp_radius_vector (double q, double e, double t); 00052 00057 void LIBNOVA_EXPORT ln_get_hyp_geo_rect_posn (struct ln_hyp_orbit* orbit, double JD, struct ln_rect_posn* posn); 00058 00059 00064 void LIBNOVA_EXPORT ln_get_hyp_helio_rect_posn (struct ln_hyp_orbit* orbit, double JD, struct ln_rect_posn* posn); 00065 00071 void LIBNOVA_EXPORT ln_get_hyp_body_equ_coords (double JD, struct ln_hyp_orbit * orbit, struct ln_equ_posn * posn); 00072 00078 double LIBNOVA_EXPORT ln_get_hyp_body_earth_dist (double JD, struct ln_hyp_orbit * orbit); 00079 00085 double LIBNOVA_EXPORT ln_get_hyp_body_solar_dist (double JD, struct ln_hyp_orbit * orbit); 00086 00091 double LIBNOVA_EXPORT ln_get_hyp_body_phase_angle (double JD, struct ln_hyp_orbit * orbit); 00092 00097 double LIBNOVA_EXPORT ln_get_hyp_body_elong (double JD, struct ln_hyp_orbit * orbit); 00098 00103 int LIBNOVA_EXPORT ln_get_hyp_body_rst (double JD, struct ln_lnlat_posn * observer, struct ln_hyp_orbit * orbit, struct ln_rst_time * rst); 00104 00109 int LIBNOVA_EXPORT ln_get_hyp_body_rst_horizon (double JD, struct ln_lnlat_posn * observer, struct ln_hyp_orbit * orbit, double horizon, struct ln_rst_time * rst); 00110 00115 int LIBNOVA_EXPORT ln_get_hyp_body_next_rst (double JD, struct ln_lnlat_posn * observer, struct ln_hyp_orbit * orbit, struct ln_rst_time * rst); 00116 00121 int LIBNOVA_EXPORT ln_get_hyp_body_next_rst_horizon (double JD, struct ln_lnlat_posn * observer, struct ln_hyp_orbit * orbit, double horizon, struct ln_rst_time * rst); 00122 00127 int LIBNOVA_EXPORT ln_get_hyp_body_next_rst_horizon_future (double JD, struct ln_lnlat_posn * observer, struct ln_hyp_orbit * orbit, double horizon, int day_limit, struct ln_rst_time * rst); 00128 00129 #ifdef __cplusplus 00130 }; 00131 #endif 00132 00133 #endif
1.7.5.1