Click or drag to resize
NOVAS2GetEarth Method
Obtains the barycentric and heliocentric positions and velocities of the Earth from the solar system ephemeris.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public static short GetEarth(
	double tjd,
	ref BodyDescription earth,
	ref double tdb,
	ref double[] bary_earthp,
	ref double[] bary_earthv,
	ref double[] helio_earthp,
	ref double[] helio_earthv
)

Parameters

tjd
Type: SystemDouble
TT (or TDT) Julian date.
earth
Type: ASCOM.AstrometryBodyDescription
Structure containing the body designation for the Earth.
tdb
Type: SystemDouble
OUT: TDB Julian date corresponding to 'tjd'.
bary_earthp
Type: SystemDouble
OUT: Barycentric position vector of Earth at 'tjd'; equatorial rectangular coordinates in AU referred to the mean equator and equinox of J2000.0.
bary_earthv
Type: SystemDouble
OUT: Barycentric velocity vector of Earth at 'tjd'; equatorial rectangular system referred to the mean equator and equinox of J2000.0, in AU/Day.
helio_earthp
Type: SystemDouble
OUT: Heliocentric position vector of Earth at 'tjd'; equatorial rectangular coordinates in AU referred to the mean equator and equinox of J2000.0.
helio_earthv
Type: SystemDouble
OUT: Heliocentric velocity vector of Earth at 'tjd'; equatorial rectangular system referred to the mean equator and equinox of J2000.0, in AU/Day.

Return Value

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