Declared in SolarSystem

Declaration

double GetOrbitalEnergy(
    Vector3 position,
    double step
);

Description

Calculates the orbital energy of the current position, which will compute the gravitation potential energy at a specific point in time at some position with a time-step.

Parameters

NameDescription
position
        [m] The current position in reference to the center of mass in the inertial frame (r_cF_N).
         |

| step | [s] The time step to calculate stepped position. |