Computes the topocentric 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 TopoStar(
	double JdTt,
	double DeltaT,
	CatEntry3 Star,
	OnSurface Position,
	Accuracy Accuracy,
	ref double Ra,
	ref double Dec
)
Visual Basic
Public Function TopoStar ( _
	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 TopoStar(
	double JdTt, 
	double DeltaT, 
	CatEntry3 Star, 
	OnSurface Position, 
	Accuracy Accuracy, 
	double% Ra, 
	double% Dec
) sealed

Parameters

JdTt
Type: System..::..Double
TT Julian date for topocentric place.
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
Specifies the position of the observer
Accuracy
Type: ASCOM.Astrometry..::..Accuracy
Code specifying the relative accuracy of the output position.
Ra
Type: System..::..Double%
Topocentric right ascension in hours, referred to true equator and equinox of date 'JdTt'.
Dec
Type: System..::..Double%
Topocentric declination in degrees, referred to true equator and equinox of date 'JdTt'.

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