Computes the apparent 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 AppStar(
	double tjd,
	ref BodyDescription earth,
	ref CatEntry star,
	ref double ra,
	ref double dec
)
Visual Basic
Public Shared Function AppStar ( _
	tjd As Double, _
	ByRef earth As BodyDescription, _
	ByRef star As CatEntry, _
	ByRef ra As Double, _
	ByRef dec As Double _
) As Short
Visual C++
public:
static short AppStar(
	double tjd, 
	BodyDescription% earth, 
	CatEntry% star, 
	double% ra, 
	double% dec
)

Parameters

tjd
Type: System..::..Double
TT (or TDT) Julian date for apparent place.
earth
Type: ASCOM.Astrometry..::..BodyDescription%
Structure containing the body designation for the earth
star
Type: ASCOM.Astrometry..::..CatEntry%
Catalog entry structure containing J2000.0 catalog data with FK5-style units (defined in novas.h).
ra
Type: System..::..Double%
OUT: Apparent right ascension in hours, referred to true equator and equinox of date 'tjd'.
dec
Type: System..::..Double%
OUT: Apparent declination in degrees, referred to true equator and equinox of date 'tjd'.

Return Value

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

Remarks