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

Parameters

tjd
Type: System..::..Double
TT (or TDT) Julian date for astrometric place.
earth
Type: ASCOM.Astrometry..::..BodyDescription%
Pointer to structure containing the body designation for the Earth
star
Type: ASCOM.Astrometry..::..CatEntry%
Pointer to catalog entry structure containing J2000.0 catalog data with FK5-style units
ra
Type: System..::..Double%
OUT: Astrometric right ascension in hours, referred to mean equator and equinox of J2000.
dec
Type: System..::..Double%
OUT: Astrometric declination in degrees, referred to mean equator and equinox of J2000.

Return Value

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

Remarks

Computes the astrometric place of a star, given its mean place, proper motion, parallax, and radial velocity for J2000.0.

See Also