Declared in CelestialBody

Declaration

double ComputePotentialEnergy(
    Vector3 inertialPosition
);

Description

Calculates the potential energy of the body at some location.

Parameters

NameDescription
inertialPosition[m] The inertial reference frame location of the object