NovasSolarSystem Method
Interface between the JPL direct-access solar system ephemerides and NOVAS-C.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short SolarSystem(
double Tjd,
Body Body,
Origin Origin,
ref double[] Pos,
ref double[] Vel
)
Public Shared Function SolarSystem (
Tjd As Double,
Body As Body,
Origin As Origin,
ByRef Pos As Double(),
ByRef Vel As Double()
) As Short
- Tjd Double
- Julian date of the desired time, on the TDB time scale.
- Body Body
- Body identification number for the solar system object of interest;
Mercury = 1, ..., Pluto= 9, Sun= 10, Moon = 11.
- Origin Origin
- Origin code; solar system barycenter= 0, center of mass of the Sun = 1, center of Earth = 2.
- Pos Double
- Position vector of 'body' at tjd; equatorial rectangular coordinates in AU referred to the ICRS.
- Vel Double
- Velocity vector of 'body' at tjd; equatorial rectangular system referred to the ICRS.
Int16Always returns 0
Supported in: 2.0