1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/// Solar system bodies
///
/// Coordinate origin is the solar system barycenter
///
/// # Notes:
///  * For native JPL Ephemerides function calls:
///    positions for all bodies are natively relative to
///    solar system barycenter, with exception of moon,
///    which is computed in Geocentric system
///  * EMB (2) is the Earth-Moon barycenter
///  * The sun position is relative to the solar system barycenter
///    (it will be close to origin)
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SolarSystem {
    /// Mercury
    MERCURY = 0,
    /// Venus
    VENUS = 1,
    /// Earth-Moon Barycenter
    EMB = 2,
    /// Mars
    MARS = 3,
    /// Jupiter
    JUPITER = 4,
    /// Saturn
    SATURN = 5,
    /// Uranus
    URANUS = 6,
    /// Neptune
    NEPTUNE = 7,
    /// Pluto
    PLUTO = 8,
    /// Moon (Geocentric)
    MOON = 9,
    /// Sun
    SUN = 10,
}