public short State( ref double Jed, Target Target, ref double TargetPos, ref double TargetVel )
Public Function State ( ByRef Jed As Double(), Target As Target, ByRef TargetPos As Double(), ByRef TargetVel As Double() ) As Short
public: virtual short State( array<double>^% Jed, Target Target, array<double>^% TargetPos, array<double>^% TargetVel ) sealed
0 ...everything OK 1 ...error reading ephemeris file 2 ...epoch out of range.
= 0: Mercury, 1: Venus, = 2: Earth-Moon barycenter, 3: Mars, = 4: Jupiter, 5: Saturn, = 6: Uranus, 7: Neptune, = 8: Pluto, 9: geocentric Moon, =10: Sun.
NOTE 1. For ease in programming, the user may put the entire epoch in jed and set jed = 0. For maximum interpolation accuracy, set jed = the most recent midnight at or before interpolation epoch, and set jed = fractional part of a day elapsed between jed and epoch. As an alternative, it may prove convenient to set jed = some fixed epoch, such as start of the integration and jed = elapsed interval between then and epoch.