19 #ifndef _LN_HYPERBOLIC_MOTION_H
20 #define _LN_HYPERBOLIC_MOTION_H
22 #include <libnova/ln_types.h>
double q
Definition: ln_types.h:301
double ln_solve_hyp_barker(double Q1, double G, double t)
Solve Barkers equation.
Definition: hyperbolic_motion.c:45
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:276
double Z
Definition: ln_types.h:241
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:219
Rise, Set and Transit times.
Definition: ln_types.h:318
double X
Definition: ln_types.h:239
double e
Definition: ln_types.h:302
double ra
Definition: ln_types.h:172
double i
Definition: ln_types.h:303
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:135
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:217
Hyperbolic Orbital elements.
Definition: ln_types.h:300
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:357
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:297
double JD
Definition: ln_types.h:306
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:193
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:417
double LIBNOVA_EXPORT ln_deg_to_rad(double degrees)
degrees to radians
Definition: utility.c:90
double LIBNOVA_EXPORT ln_range_degrees(double angle)
puts a large angle in the correct range 0 - 360 degrees
Definition: utility.c:234
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:439
double omega
Definition: ln_types.h:305
double ln_get_hyp_body_elong(double JD, struct ln_hyp_orbit *orbit)
Calculate the bodies elongation to the Sun.
Definition: hyperbolic_motion.c:324
double ln_get_hyp_radius_vector(double q, double e, double t)
Calculate the radius vector.
Definition: hyperbolic_motion.c:122
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:254
double R
Definition: ln_types.h:220
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:396
double Y
Definition: ln_types.h:240
double B
Definition: ln_types.h:219
double ln_get_hyp_true_anomaly(double q, double e, double t)
Calculate the true anomaly.
Definition: hyperbolic_motion.c:98
double LIBNOVA_EXPORT ln_rad_to_deg(double radians)
radians to degrees
Definition: utility.c:84
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:376
double L
Definition: ln_types.h:218
Ecliptical (or celestial) Longitude and Latitude.
Definition: ln_types.h:201
Equatorial Coordinates.
Definition: ln_types.h:171
double dec
Definition: ln_types.h:173
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:304
Rectangular coordinates.
Definition: ln_types.h:238