fn perturb(&self, x: f64, y: f64, z: f64, day: f64) -> Array3d {
        match &self.solartype {
            Solarobj::Moon { attr: _ } => kepler_utilities::lunar_pertub(self, x, y, z, day),
            _ => Array3d { x, y, z },
        }
    }
/// Calculates additional perturbations on top of main heliocentric position calculation.
/// Matches PlanetPS bodies using the type enum.
///  
/// ### Arguments
///  * 'x' - X coord
///  * 'y' - Y coord
///  * 'z' - Z coord
///  * 'day' - Day value
///
/// ### Returns
///      Cartesian coords with the added perturbations.
///
Calculates additional perturbations on top of main heliocentric position calculation.
Matches PlanetPS bodies using the type enum.
Calculates additional perturbations on top of main heliocentric position calculation . Matches PlanetPS bodies using the type enum .
fn perturb(&self, x: f64, y: f64, z: f64, day: f64) -> Array3d {
        match &self.solartype {
            Solarobj::Moon { attr: _ } => kepler_utilities::lunar_pertub(self, x, y, z, day),
            _ => Array3d { x, y, z },
        }
    }
fn perturb ( & self , x : f64 , y : f64 , z : f64 , day : f64 ) -> Array3d { match & self . solartype { Solarobj :: Moon { attr : _ } => kepler_utilities :: lunar_pertub ( self , x , y , z , day ) , _ => Array3d { x , y , z } , } }
Calculates additional perturbations on top of main heliocentric position calculation.
Calculates additional perturbations on top of main heliocentric position calculation .
Cartesian coords with the added perturbations.
Cartesian coords with the added perturbations .
&self
x
f64
y
f64
z
f64
day
f64