IEphemerisGetPositionAndVelocity Method

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

Definition

Namespace: ASCOM.Tools.Interfaces
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
double[] GetPositionAndVelocity(
	double tjd
)

Parameters

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

Return Value

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.

Version Information

.NET Standard

Supported in: 2.0

See Also