Computes the topocentric place of a star

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

Syntax

C#
public static short TopoStar(
	double tjd,
	ref BodyDescription earth,
	double deltat,
	ref CatEntry star,
	ref SiteInfo location,
	ref double ra,
	ref double dec
)
Visual Basic
Public Shared Function TopoStar ( _
	tjd As Double, _
	ByRef earth As BodyDescription, _
	deltat As Double, _
	ByRef star As CatEntry, _
	ByRef location As SiteInfo, _
	ByRef ra As Double, _
	ByRef dec As Double _
) As Short
Visual C++
public:
static short TopoStar(
	double tjd, 
	BodyDescription% earth, 
	double deltat, 
	CatEntry% star, 
	SiteInfo% location, 
	double% ra, 
	double% dec
)

Parameters

tjd
Type: System..::..Double
TT (or TDT) Julian date for topocentric place.
earth
Type: ASCOM.Astrometry..::..BodyDescription%
Structure containing the body designation for the Earth.
deltat
Type: System..::..Double
Difference TT (or TDT)-UT1 at 'tjd', in seconds.
star
Type: ASCOM.Astrometry..::..CatEntry%
Catalog entry structure containing J2000.0 catalog data with FK5-style units.
location
Type: ASCOM.Astrometry..::..SiteInfo%
Structure containing observer's location
ra
Type: System..::..Double%
OUT: Topocentric right ascension in hours, referred to true equator and equinox of date 'tjd'.
dec
Type: System..::..Double%
OUT: Topocentric declination in degrees, referred to true equator and equinox of date 'tjd'.

Return Value

  0...Everything OK.
 >0...Error code from function 'solarsystem'.

Remarks