pub fn earth_to_output_form(&self) -> output::SolarObjectOut {
        output::SolarObjectOut {
            name: self.earth.get_solar_object().to_string(),
            sim_time: self.sim_time_s,
            x_coord: self.earth.coords.current_coords.x as f32,
            y_coord: self.earth.coords.current_coords.y as f32,
            z_coord: self.earth.coords.current_coords.z as f32,
            x_velocity: self.earth.velocity.x,
            y_velocity: self.earth.velocity.y,
            z_velocity: self.earth.velocity.z,
        }
    }
/// Convert earth data into output form
///
/// ### Return
/// Returns earth data in form which is used for output
///
Convert earth data into output form
Convert earth data into output form
pub fn earth_to_output_form(&self) -> output::SolarObjectOut {
        output::SolarObjectOut {
            name: self.earth.get_solar_object().to_string(),
            sim_time: self.sim_time_s,
            x_coord: self.earth.coords.current_coords.x as f32,
            y_coord: self.earth.coords.current_coords.y as f32,
            z_coord: self.earth.coords.current_coords.z as f32,
            x_velocity: self.earth.velocity.x,
            y_velocity: self.earth.velocity.y,
            z_velocity: self.earth.velocity.z,
        }
    }
pub fn earth_to_output_form ( & self ) -> output :: SolarObjectOut { output :: SolarObjectOut { name : self . earth . get_solar_object ( ) . to_string ( ) , sim_time : self . sim_time_s , x_coord : self . earth . coords . current_coords . x as f32 , y_coord : self . earth . coords . current_coords . y as f32 , z_coord : self . earth . coords . current_coords . z as f32 , x_velocity : self . earth . velocity . x , y_velocity : self . earth . velocity . y , z_velocity : self . earth . velocity . z , } }
Convert earth data into output form
Convert earth data into output form
Returns earth data in form which is used for output
Returns earth data in form which is used for output
&self