NovasGeoPosVel Method
This function computes the geocentric position and velocity of an observer on
the surface of the earth or on a near-earth spacecraft.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short GeoPosVel(
double JdTt,
double DeltaT,
Accuracy Accuracy,
Observer Obs,
ref double[] Pos,
ref double[] Vel
)
Public Shared Function GeoPosVel (
JdTt As Double,
DeltaT As Double,
Accuracy As Accuracy,
Obs As Observer,
ByRef Pos As Double(),
ByRef Vel As Double()
) As Short
- JdTt Double
- TT Julian date.
- DeltaT Double
- Value of Delta T (= TT - UT1) at 'JdTt'.
- Accuracy Accuracy
- Selection for accuracy
- Obs Observer
- Data specifying the location of the observer
- Pos Double
- Position vector of observer, with respect to origin at geocenter,
referred to GCRS axes, components in AU.
- Vel Double
- Velocity vector of observer, with respect to origin at geocenter,
referred to GCRS axes, components in AU/day.
Int16
0 ... everything OK
1 ... invalid value of 'Accuracy'.
The final vectors are expressed in the GCRS.
Supported in: 2.0