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.1.1.2619)

Syntax

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

Parameters

JdTt
Type: System..::..Double
TT Julian date for local place.
SsBody
Type: ASCOM.Astrometry..::..Object3
structure containing the body designation for the solar system body
DeltaT
Type: System..::..Double
Difference TT-UT1 at 'JdTt', in seconds of time.
Position
Type: ASCOM.Astrometry..::..OnSurface
Specifies the position of the observer
Accuracy
Type: ASCOM.Astrometry..::..Accuracy
Specifies accuracy level
Ra
Type: System..::..Double%
Local right ascension in hours, referred to the 'local GCRS'.
Dec
Type: System..::..Double%
Local declination in degrees, referred to the 'local GCRS'.
Dis
Type: System..::..Double%
True distance from Earth to planet in AU.

Return Value

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

Remarks