NovasSolarSystem Method

Interface between the JPL direct-access solar system ephemerides and NOVAS-C.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short SolarSystem(
	double Tjd,
	Body Body,
	Origin Origin,
	ref double[] Pos,
	ref double[] Vel
)

Parameters

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.

Return Value

Int16
Always returns 0

Version Information

.NET Standard

Supported in: 2.0

See Also