Click or drag to resize
NOVAS2LocalStar Method
Computes the local 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 static short LocalStar(
	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 local place.
earth
Type: ASCOM.AstrometryBodyDescription
Pointer to structure containing the body designation for the Earth
deltat
Type: SystemDouble
Difference TT(or TDT)-UT1 at 'tjd', in seconds.
star
Type: ASCOM.AstrometryCatEntry
Pointer to catalog entry structure containing J2000.0 catalog data with FK5-style units
location
Type: ASCOM.AstrometrySiteInfo
Pointer to structure containing observer's location
ra
Type: SystemDouble
OUT: Local right ascension in hours, referred to mean equator and equinox of J2000.
dec
Type: SystemDouble
OUT: Local 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