19 #ifndef _LN_HYPERBOLIC_MOTION_H
20 #define _LN_HYPERBOLIC_MOTION_H
22 #include <libnova/ln_types.h>
144 double horizon,
int day_limit,
struct ln_rst_time *rst);
double q
Definition: ln_types.h:298
double ln_solve_hyp_barker(double Q1, double G, double t)
Solve Barkers equation.
Definition: hyperbolic_motion.c:46
double ln_get_hyp_body_solar_dist(double JD, struct ln_hyp_orbit *orbit)
Calculate the distance between a body and the Sun.
Definition: hyperbolic_motion.c:279
double Z
Definition: ln_types.h:242
void ln_get_hyp_body_equ_coords(double JD, struct ln_hyp_orbit *orbit, struct ln_equ_posn *posn)
Calculate a bodies equatorial coordinates.
Definition: hyperbolic_motion.c:221
Rise, Set and Transit times.
Definition: ln_types.h:314
double X
Definition: ln_types.h:240
double e
Definition: ln_types.h:299
double ra
Definition: ln_types.h:177
double i
Definition: ln_types.h:300
void ln_get_hyp_helio_rect_posn(struct ln_hyp_orbit *orbit, double JD, struct ln_rect_posn *posn)
Calculate an objects rectangular heliocentric position.
Definition: hyperbolic_motion.c:139
double ln_get_earth_solar_dist(double JD)
Calculate the distance between Earth and the Sun.
Definition: earth.c:2772
void LIBNOVA_EXPORT ln_get_solar_geo_coords(double JD, struct ln_rect_posn *position)
Calculate geocentric coordinates (rectangular)
Definition: solar.c:116
Heliocentric position.
Definition: ln_types.h:219
Hyperbolic Orbital elements.
Definition: ln_types.h:297
int ln_get_hyp_body_rst(double JD, struct ln_lnlat_posn *observer, struct ln_hyp_orbit *orbit, struct ln_rst_time *rst)
Calculate the time of rise, set and transit for a body with a hyperbolic orbit.
Definition: hyperbolic_motion.c:360
double ln_get_hyp_body_phase_angle(double JD, struct ln_hyp_orbit *orbit)
Calculate the phase angle of the body.
Definition: hyperbolic_motion.c:300
double JD
Definition: ln_types.h:303
void ln_get_hyp_geo_rect_posn(struct ln_hyp_orbit *orbit, double JD, struct ln_rect_posn *posn)
Calculate an objects rectangular geocentric position.
Definition: hyperbolic_motion.c:195
int 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)
Calculate the time of rise, set and transit for a body with an hyperbolic orbit.
Definition: hyperbolic_motion.c:427
double LIBNOVA_EXPORT ln_deg_to_rad(double degrees)
degrees to radians
Definition: utility.c:93
double LIBNOVA_EXPORT ln_range_degrees(double angle)
puts a large angle in the correct range 0 - 360 degrees
Definition: utility.c:237
int 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)
Calculate the time of rise, set and transit for a body with an hyperbolic orbit.
Definition: hyperbolic_motion.c:452
double omega
Definition: ln_types.h:302
double ln_get_hyp_body_elong(double JD, struct ln_hyp_orbit *orbit)
Calculate the bodies elongation to the Sun.
Definition: hyperbolic_motion.c:327
double ln_get_hyp_radius_vector(double q, double e, double t)
Calculate the radius vector.
Definition: hyperbolic_motion.c:125
double ln_get_hyp_body_earth_dist(double JD, struct ln_hyp_orbit *orbit)
Calculate the distance between a body and the Earth.
Definition: hyperbolic_motion.c:257
double R
Definition: ln_types.h:222
int ln_get_hyp_body_next_rst(double JD, struct ln_lnlat_posn *observer, struct ln_hyp_orbit *orbit, struct ln_rst_time *rst)
Calculate the time of rise, set and transit for a body with an hyperbolic orbit.
Definition: hyperbolic_motion.c:404
double Y
Definition: ln_types.h:241
double B
Definition: ln_types.h:221
double ln_get_hyp_true_anomaly(double q, double e, double t)
Calculate the true anomaly.
Definition: hyperbolic_motion.c:103
double LIBNOVA_EXPORT ln_rad_to_deg(double radians)
radians to degrees
Definition: utility.c:87
int 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)
Calculate the time of rise, set and transit for a body with a hyperbolic orbit.
Definition: hyperbolic_motion.c:381
double L
Definition: ln_types.h:220
Ecliptical (or celestial) Longitude and Latitude.
Definition: ln_types.h:204
Equatorial Coordinates.
Definition: ln_types.h:176
double dec
Definition: ln_types.h:178
void ln_get_earth_helio_coords(double JD, struct ln_helio_posn *position)
Calculate Earth's heliocentric coordinates.
Definition: earth.c:2699
double w
Definition: ln_types.h:301
Rectangular coordinates.
Definition: ln_types.h:239