NovasAstroPlanet Method

Compute the astrometric place of a planet or other solar system body.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short AstroPlanet(
	double JdTt,
	Object3 SsBody,
	Accuracy Accuracy,
	ref double Ra,
	ref double Dec,
	ref double Dis
)

Parameters

JdTt  Double
TT Julian date for astrometric place.
SsBody  Object3
structure containing the body designation for the solar system body
Accuracy  Accuracy
Code specifying the relative accuracy of the output position.
Ra  Double
Astrometric right ascension in hours (referred to the ICRS, without light deflection or aberration).
Dec  Double
Astrometric declination in degrees (referred to the ICRS, without light deflection or aberration).
Dis  Double
True distance from Earth to planet in AU.

Return Value

Int16
               0 ... Everything OK
               1 ... Invalid value of 'Type' in structure 'SsBody'
            > 10 ... Error code from function 'Place'.
            

Remarks

NOTE: Full accuracy is available for observation dates in the year range 2020-2050, outside this range accuracy is slightly reduced.

Version Information

.NET Standard

Supported in: 2.0

See Also