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