Click or drag to resize
EphemerisGetPositionAndVelocity Method
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.2.0.2774)
Syntax
public double[] GetPositionAndVelocity(
	double tjd
)

Parameters

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

Return Value

Type: Double
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