Click or drag to resize
NOVAS31LocalPlanet Method
Computes the local 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 LocalPlanet(
	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 local 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
Specifies accuracy level
Ra
Type: SystemDouble
Local right ascension in hours, referred to the 'local GCRS'.
Dec
Type: SystemDouble
Local declination in degrees, referred to the 'local GCRS'.
Dis
Type: SystemDouble
True distance from Earth to planet in AU.

Return Value

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