pub fn calculate_abs_coords(&self, sim_obj: &SimobjT) -> Array3d {
        match sim_obj.soi {
            Solarobj::Sun { attr: _, .. } => self.sun.coords.current_coords + sim_obj.coords,
            Solarobj::Earth { attr: _, .. } => self.earth.coords.current_coords + sim_obj.coords,
            // Lunar coords are abs also
            Solarobj::Moon { attr: _, .. } => self.moon.coords.current_coords + sim_obj.coords,
        }
    }
/// Calculate the absolute coordinates for the simulation object
///
/// ### Arguments
/// * 'sim_obj' - The simulation object
///
/// ### Return
/// The absolute coordinates for the input simulation object.
///
Calculate the absolute coordinates for the simulation object
Calculate the absolute coordinates for the simulation object
pub fn calculate_abs_coords(&self, sim_obj: &SimobjT) -> Array3d {
        match sim_obj.soi {
            Solarobj::Sun { attr: _, .. } => self.sun.coords.current_coords + sim_obj.coords,
            Solarobj::Earth { attr: _, .. } => self.earth.coords.current_coords + sim_obj.coords,
            // Lunar coords are abs also
            Solarobj::Moon { attr: _, .. } => self.moon.coords.current_coords + sim_obj.coords,
        }
    }
pub fn calculate_abs_coords ( & self , sim_obj : & SimobjT ) -> Array3d { match sim_obj . soi { Solarobj :: Sun { attr : _ , .. } => self . sun . coords . current_coords + sim_obj . coords , Solarobj :: Earth { attr : _ , .. } => self . earth . coords . current_coords + sim_obj . coords , // Lunar coords are abs also Solarobj :: Moon { attr : _ , .. } => self . moon . coords . current_coords + sim_obj . coords , } }
Calculate the absolute coordinates for the simulation object
Calculate the absolute coordinates for the simulation object
The absolute coordinates for the input simulation object.
The absolute coordinates for the input simulation object .
&self
sim_obj
&SimobjT