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

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public short AppPlanet(
	double JdTt,
	Object3 SsBody,
	Accuracy Accuracy,
	ref double Ra,
	ref double Dec,
	ref double Dis
)
Visual Basic
Public Function AppPlanet ( _
	JdTt As Double, _
	SsBody As Object3, _
	Accuracy As Accuracy, _
	ByRef Ra As Double, _
	ByRef Dec As Double, _
	ByRef Dis As Double _
) As Short
Visual C++
public:
virtual short AppPlanet(
	double JdTt, 
	Object3 SsBody, 
	Accuracy Accuracy, 
	double% Ra, 
	double% Dec, 
	double% Dis
) sealed

Parameters

JdTt
Type: System..::..Double
TT Julian date for apparent place.
SsBody
Type: ASCOM.Astrometry..::..Object3
Pointer to structure containing the body designation for the solar system body
Accuracy
Type: ASCOM.Astrometry..::..Accuracy
Code specifying the relative accuracy of the output position.
Ra
Type: System..::..Double%
Apparent right ascension in hours, referred to true equator and equinox of date.
Dec
Type: System..::..Double%
Apparent declination in degrees, referred to true equator and equinox of date.
Dis
Type: System..::..Double%
True distance from Earth to planet at 'JdTt' in AU.

Return Value

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

Remarks