Click or drag to resize
NOVAS31TopoPlanet Method
Computes the topocentric place of a 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 TopoPlanet(
	double JdTt,
	Object3 SsBody,
	double DeltaT,
	OnSurface Position,
	Accuracy Accuracy,
	ref double Ra,
	ref double Dec,
	ref double Dis
)

Parameters

JdTt
Type: SystemDouble
TT Julian date for topocentric place.
SsBody
Type: ASCOM.AstrometryObject3
structure containing the body designation for the solar system body
DeltaT
Type: SystemDouble
Difference TT-UT1 at 'JdTt', in seconds of time.
Position
Type: ASCOM.AstrometryOnSurface
Specifies the position of the observer
Accuracy
Type: ASCOM.AstrometryAccuracy
Selection for accuracy
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 'Where' in structure 'Location'.
 > 10 ... Error code from function 'Place'.
Remarks