BodyProperties
Defined in: body.rs:20
pub struct BodyProperties { pub mu: f64, pub radius: f64, pub name: &'static str, pub j2: Option<f64>, pub j3: Option<f64>, pub j4: Option<f64>, pub atmosphere_altitude: Option<f64>,}Physical properties of a celestial body.
Fields
Section titled “Fields”mu: f64
Standard gravitational parameter (km^3/s^2)
radius
Section titled “radius”radius: f64
Mean equatorial radius (km)
name: &‘static str
Display name
j2: Option<f64>
J2 zonal harmonic coefficient (None for bodies without known oblateness)
j3: Option<f64>
J3 zonal harmonic coefficient (None if unknown)
j4: Option<f64>
J4 zonal harmonic coefficient (None if unknown)
atmosphere_altitude
Section titled “atmosphere_altitude”atmosphere_altitude: Option<f64>
Effective atmosphere altitude for reentry detection [km]. When a satellite descends below this altitude, it is considered to have entered the atmosphere and the simulation terminates. None for bodies without a significant atmosphere.