Computes the local place of a star at date 'JdTt', given its catalog mean place, proper motion, parallax, and radial velocity.

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

Syntax

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

Parameters

JdTt
Type: System..::..Double
TT Julian date for local place. delta_t (double)
DeltaT
Type: System..::..Double
Difference TT-UT1 at 'JdTt', in seconds of time.
Star
Type: ASCOM.Astrometry..::..CatEntry3
catalog entry structure containing catalog data for the object in the ICRS
Position
Type: ASCOM.Astrometry..::..OnSurface
Structure specifying 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'.

Return Value

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

Remarks