NovasPlanetEphemeris Method
Get position and velocity of target with respect to the centre object.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short PlanetEphemeris(
ref double[] Tjd,
Target Target,
Target Center,
ref double[] Position,
ref double[] Velocity
)
Public Shared Function PlanetEphemeris (
ByRef Tjd As Double(),
Target As Target,
Center As Target,
ByRef Position As Double(),
ByRef Velocity As Double()
) As Short
- Tjd Double
- Two-element array containing the Julian date, which may be split any way (although the first
element is usually the "integer" part, and the second element is the "fractional" part). Julian date is in the
TDB or "T_eph" time scale.
- Target Target
- Target object
- Center Target
- Centre object
- Position Double
- Position vector array of target relative to center, measured in AU.
- Velocity Double
- Velocity vector array of target relative to center, measured in AU/day.
Int16
0 ...everything OK.
1,2 ...error returned from State. This function accesses the JPL planetary ephemeris to give the position and velocity of the target
object with respect to the center object.
Supported in: 2.0