public class EllipticMotion extends Object
| Constructor and Description |
|---|
EllipticMotion() |
| Modifier and Type | Method and Description |
|---|---|
static double |
ln_get_ell_body_earth_dist(double JD,
LnEllOrbit orbit)
double ln_get_ell_body_earth_dist(double JD, LnEllOrbit orbit) \param JD
Julian day.
|
static double |
ln_get_ell_body_elong(double JD,
LnEllOrbit orbit)
double ln_get_ell_body_elong(double JD, LnEllOrbit orbit); \param JD
Julian day \param orbit Orbital parameters \return Elongation to the Sun.
|
static void |
ln_get_ell_body_equ_coords(double JD,
LnEllOrbit orbit,
LnEquPosn posn)
void ln_get_ell_body_equ_coords(double JD, LnEllOrbit orbit, LnEquPosn
posn) \param JD Julian Day.
|
static int |
ln_get_ell_body_next_rst_horizon_future(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
int day_limit,
LnRstTime rst)
double ln_get_ell_body_next_rst_horizon(double JD, LnLnlatPosn observer,
LnEllOrbit orbit, double horizon, LnRstTime rst); \param JD Julian day
\param observer Observers position \param orbit Orbital parameters \param
horizon Horizon height \param day_limit Maximal number of days that will
be searched for next rise and set \param rst Pointer to store Rise, Set
and Transit time in JD \return 0 for success, else 1 for circumpolar
(above the horizon), -1 for circumpolar (bellow the horizon)
Calculate the time of next rise, set and transit (crosses the local
meridian at upper culmination) time of a body with an elliptic orbit for
the given Julian day.
|
static int |
ln_get_ell_body_next_rst_horizon(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
LnRstTime rst)
double ln_get_ell_body_next_rst_horizon(double JD, LnLnlatPosn observer,
LnEllOrbit orbit, double horizon, LnRstTime rst); \param JD Julian day
\param observer Observers position \param orbit Orbital parameters \param
horizon Horizon height \param rst Pointer to store Rise, Set and Transit
time in JD \return 0 for success, else 1 for circumpolar (above the
horizon), -1 for circumpolar (bellow the horizon)
Calculate the time of next rise, set and transit (crosses the local
meridian at upper culmination) time of a body with an elliptic orbit for
the given Julian day.
|
static int |
ln_get_ell_body_next_rst(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
LnRstTime rst)
double ln_get_ell_body_next_rst(double JD, LnLnlatPosn observer,
LnEllOrbit orbit, LnRstTime rst); \param JD Julian day \param observer
Observers position \param orbit Orbital parameters \param rst Pointer to
store Rise, Set and Transit time in JD \return 0 for success, else 1 for
circumpolar (above the horizon), -1 for circumpolar (bellow the horizon)
Calculate the time of next rise, set and transit (crosses the local
meridian at upper culmination) time of a body with an elliptic orbit for
the given Julian day.
|
static double |
ln_get_ell_body_phase_angle(double JD,
LnEllOrbit orbit)
double ln_get_ell_body_phase_angle(double JD, LnEllOrbit orbit); \param
JD Julian day \param orbit Orbital parameters \return Phase angle.
|
static int |
ln_get_ell_body_rst_horizon(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
LnRstTime rst)
double ln_get_ell_body_rst_horizon(double JD, LnLnlatPosn observer,
LnEllOrbit orbit, double horizon, LnRstTime rst); \param JD Julian day
\param observer Observers position \param orbit Orbital parameters \param
horizon Horizon height \param rst Pointer to store Rise, Set and Transit
time in JD \return 0 for success, else 1 for circumpolar (above the
horizon), -1 for circumpolar (bellow the horizon)
Calculate the time the rise, set and transit (crosses the local meridian
at upper culmination) time of a body with an elliptic orbit for the given
Julian day.
|
static int |
ln_get_ell_body_rst(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
LnRstTime rst)
double ln_get_ell_body_rst(double JD, LnLnlatPosn observer, LnEllOrbit
orbit, LnRstTime rst); \param JD Julian day \param observer Observers
position \param orbit Orbital parameters \param rst Pointer to store
Rise, Set and Transit time in JD \return 0 for success, else 1 for
circumpolar (above the horizon), -1 for circumpolar (bellow the horizon)
Calculate the time the rise, set and transit (crosses the local meridian
at upper culmination) time of a body with an elliptic orbit for the given
Julian day.
|
static double |
ln_get_ell_body_solar_dist(double JD,
LnEllOrbit orbit)
double ln_get_ell_body_solar_dist(double JD, LnEllOrbit orbit) \param JD
Julian Day.
|
static void |
ln_get_ell_geo_rect_posn(LnEllOrbit orbit,
double JD,
LnRectPosn posn)
void ln_get_ell_geo_rect_posn(LnEllOrbit orbit, double JD, LnRectPosn
posn); \param orbit Orbital parameters of object.
|
static void |
ln_get_ell_helio_rect_posn(LnEllOrbit orbit,
double JD,
LnRectPosn posn)
void ln_get_ell_helio_rect_posn(LnEllOrbit orbit, double JD, LnRectPosn
posn); \param orbit Orbital parameters of object.
|
static double |
ln_get_ell_last_perihelion(double epoch_JD,
double M,
double n)
!
|
static double |
ln_get_ell_mean_anomaly(double n,
double delta_JD)
double ln_get_ell_mean_anomaly (double n, double delta_JD); \param n Mean
motion (degrees/day) \param delta_JD Time since perihelion \return Mean
anomaly (degrees)
Calculate the mean anomaly.
|
static double |
ln_get_ell_mean_motion(double a)
double ln_get_ell_mean_motion (double a); \param a Semi major diameter in
AU \return Mean daily motion (degrees/day)
Calculate the mean daily motion (degrees/day).
|
static double |
ln_get_ell_orbit_avel(LnEllOrbit orbit)
double ln_get_ell_orbit_avel(LnEllOrbit orbit); \param orbit Orbital
parameters \return Orbital velocity in km/s.
|
static double |
ln_get_ell_orbit_len(LnEllOrbit orbit)
double ln_get_ell_orbit_len(LnEllOrbit orbit); \param orbit Orbital
parameters \return Orbital length in AU
Calculate the orbital length in AU.
|
static double |
ln_get_ell_orbit_pvel(LnEllOrbit orbit)
double ln_get_ell_orbit_pvel(LnEllOrbit orbit); \param orbit Orbital
parameters \return Orbital velocity in km/s.
|
static double |
ln_get_ell_orbit_vel(double JD,
LnEllOrbit orbit)
double ln_get_ell_orbit_vel(double JD, LnEllOrbit orbit); \param JD
Julian day.
|
static double |
ln_get_ell_radius_vector(double a,
double e,
double E)
equ 30.2
|
static double |
ln_get_ell_smajor_diam(double e,
double q)
double ln_get_ell_smajor_diam (double e, double q); \param e Eccentricity
\param q Perihelion distance in AU \return Semi-major diameter in AU
Calculate the semi major diameter.
|
static double |
ln_get_ell_sminor_diam(double e,
double a)
double ln_get_ell_sminor_diam (double e, double a); \param e Eccentricity
\param a Semi-Major diameter in AU \return Semi-minor diameter in AU
Calculate the semi minor diameter.
|
static double |
ln_get_ell_true_anomaly(double e,
double E)
equ 30.1
|
static double |
ln_solve_kepler(double e,
double M)
double ln_solve_kepler (double E, double M); \param E Orbital
eccentricity \param M Mean anomaly \return Eccentric anomaly
Calculate the eccentric anomaly.
|
static double |
sgn(double x)
the BASIC SGN() function for doubles
|
public static double sgn(double x)
public static double ln_solve_kepler(double e,
double M)
public static double ln_get_ell_mean_anomaly(double n,
double delta_JD)
public static double ln_get_ell_true_anomaly(double e,
double E)
public static double ln_get_ell_radius_vector(double a,
double e,
double E)
public static double ln_get_ell_smajor_diam(double e,
double q)
public static double ln_get_ell_sminor_diam(double e,
double a)
public static double ln_get_ell_mean_motion(double a)
public static void ln_get_ell_helio_rect_posn(LnEllOrbit orbit, double JD, LnRectPosn posn)
public static void ln_get_ell_geo_rect_posn(LnEllOrbit orbit, double JD, LnRectPosn posn)
public static void ln_get_ell_body_equ_coords(double JD,
LnEllOrbit orbit,
LnEquPosn posn)
public static double ln_get_ell_orbit_len(LnEllOrbit orbit)
public static double ln_get_ell_orbit_vel(double JD,
LnEllOrbit orbit)
public static double ln_get_ell_orbit_pvel(LnEllOrbit orbit)
public static double ln_get_ell_orbit_avel(LnEllOrbit orbit)
public static double ln_get_ell_body_solar_dist(double JD,
LnEllOrbit orbit)
public static double ln_get_ell_body_earth_dist(double JD,
LnEllOrbit orbit)
public static double ln_get_ell_body_phase_angle(double JD,
LnEllOrbit orbit)
public static double ln_get_ell_body_elong(double JD,
LnEllOrbit orbit)
public static int ln_get_ell_body_rst(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
LnRstTime rst)
public static int ln_get_ell_body_rst_horizon(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
LnRstTime rst)
public static int ln_get_ell_body_next_rst(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
LnRstTime rst)
public static int ln_get_ell_body_next_rst_horizon(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
LnRstTime rst)
public static int ln_get_ell_body_next_rst_horizon_future(double JD,
LnLnlatPosn observer,
LnEllOrbit orbit,
double horizon,
int day_limit,
LnRstTime rst)
public static double ln_get_ell_last_perihelion(double epoch_JD,
double M,
double n)
Copyright © 2019. All rights reserved.