Click or drag to resize
NOVAS2VirtualStar Method
Computes the virtual place of a star

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public static short VirtualStar(
	double tjd,
	ref BodyDescription earth,
	ref CatEntry star,
	ref double ra,
	ref double dec
)

Parameters

tjd
Type: SystemDouble
TT (or TDT) Julian date for virtual place.
earth
Type: ASCOM.AstrometryBodyDescription
Pointer to structure containing the body designation for the Earth.
star
Type: ASCOM.AstrometryCatEntry
Pointer to catalog entry structure containing J2000.0 catalog data with FK5-style units
ra
Type: SystemDouble
OUT: Virtual right ascension in hours, referred to mean equator and equinox of J2000.
dec
Type: SystemDouble
OUT: Virtual declination in degrees, referred to mean equator and equinox of J2000.

Return Value

Type: Int16
  0...Everything OK.
 >0...Error code from function 'solarsystem'
 
Remarks
Computes the virtual place of a star at date 'tjd', given its mean place, proper motion, parallax, and radial velocity for J2000.0.
See Also