Click or drag to resize
NOVAS31AppPlanet Method
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.3.0.2839)
Syntax
public short AppPlanet(
	double JdTt,
	Object3 SsBody,
	Accuracy Accuracy,
	ref double Ra,
	ref double Dec,
	ref double Dis
)

Parameters

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

Return Value

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