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

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public short SolarSystem(
	double Tjd,
	Body Body,
	Origin Origin,
	ref double[] Pos,
	ref double[] Vel
)
Visual Basic
Public Function SolarSystem ( _
	Tjd As Double, _
	Body As Body, _
	Origin As Origin, _
	ByRef Pos As Double(), _
	ByRef Vel As Double() _
) As Short
Visual C++
public:
virtual short SolarSystem(
	double Tjd, 
	Body Body, 
	Origin Origin, 
	array<double>^% Pos, 
	array<double>^% Vel
) sealed

Parameters

Tjd
Type: System..::..Double
Julian date of the desired time, on the TDB time scale.
Body
Type: ASCOM.Astrometry..::..Body
Body identification number for the solar system object of interest; Mercury = 1, ..., Pluto= 9, Sun= 10, Moon = 11.
Origin
Type: ASCOM.Astrometry..::..Origin
Origin code; solar system barycenter= 0, center of mass of the Sun = 1, center of Earth = 2.
Pos
Type: array<System..::..Double>[]()[][]%
Position vector of 'body' at tjd; equatorial rectangular coordinates in AU referred to the ICRS.
Vel
Type: array<System..::..Double>[]()[][]%
Velocity vector of 'body' at tjd; equatorial rectangular system referred to the ICRS.

Return Value

Always returns 0

Remarks