Computes the local 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 short LocalStar(
	double tjd,
	ref BodyDescription earth,
	double deltat,
	ref CatEntry star,
	ref SiteInfo location,
	ref double ra,
	ref double dec
)
Visual Basic
Public Function LocalStar ( _
	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:
virtual short LocalStar(
	double tjd, 
	BodyDescription% earth, 
	double deltat, 
	CatEntry% star, 
	SiteInfo% location, 
	double% ra, 
	double% dec
) sealed

Parameters

tjd
Type: System..::..Double
TT (or TDT) Julian date for local place.
earth
Type: ASCOM.Astrometry..::..BodyDescription%
Pointer to 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%
Pointer to catalog entry structure containing J2000.0 catalog data with FK5-style units
location
Type: ASCOM.Astrometry..::..SiteInfo%
Pointer to structure containing observer's location
ra
Type: System..::..Double%
OUT: Local right ascension in hours, referred to mean equator and equinox of J2000.
dec
Type: System..::..Double%
OUT: Local declination in degrees, referred to mean equator and equinox of J2000.

Return Value

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

Remarks