Click or drag to resize
NOVAS2COMTopoStar Method
Computes the topocentric place of a star

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public short TopoStar(
	double tjd,
	ref BodyDescription earth,
	double deltat,
	ref CatEntry star,
	ref SiteInfo location,
	ref double ra,
	ref double dec
)

Parameters

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

Return Value

Type: Int16
  0...Everything OK.
 >0...Error code from function 'solarsystem'.
Remarks