NovasTopoPlanet Method
Computes the topocentric place of a solar system body.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short TopoPlanet(
double JdTt,
Object3 SsBody,
double DeltaT,
OnSurface Position,
Accuracy Accuracy,
ref double Ra,
ref double Dec,
ref double Dis
)
Public Shared Function TopoPlanet (
JdTt As Double,
SsBody As Object3,
DeltaT As Double,
Position As OnSurface,
Accuracy As Accuracy,
ByRef Ra As Double,
ByRef Dec As Double,
ByRef Dis As Double
) As Short
- JdTt Double
- TT Julian date for topocentric place.
- SsBody Object3
- structure containing the body designation for the solar system body
- DeltaT Double
- Difference TT-UT1 at 'JdTt', in seconds of time.
- Position OnSurface
- Specifies the position of the observer
- Accuracy Accuracy
- Selection for accuracy
- Ra Double
- Apparent right ascension in hours, referred to true equator and equinox of date.
- Dec Double
- Apparent declination in degrees, referred to true equator and equinox of date.
- Dis Double
- True distance from Earth to planet at 'JdTt' in AU.
Int16
= 0 ... Everything OK.
= 1 ... Invalid value of 'Where' in structure 'Location'.
> 10 ... Error code from function 'Place'.
NOTE: Full accuracy is available for observation dates in the year range 2020-2050, outside this range accuracy is slightly reduced.
Supported in: 2.0