hyperbolic_motion.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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