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