Compute rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity (KM/sec.).

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

Syntax

C#
double[] GetPositionAndVelocity(
	double tjd
)
Visual Basic
Function GetPositionAndVelocity ( _
	tjd As Double _
) As Double()
Visual C++
array<double>^ GetPositionAndVelocity(
	double tjd
)

Parameters

tjd
Type: System..::..Double
Terrestrial Julian date/time for which position and velocity is to be computed

Return Value

Array of 6 values containing rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity (KM/sec.) for the body.

Remarks

The TJD parameter is the date/time as a Terrestrial Time Julian date. See below for more info. If you are using ACP, there are functions available to convert between UTC and Terrestrial time, and for estimating the current value of delta-T. See the Overview page for the Kepler.Ephemeris class for more information on time keeping systems.

See Also