Interface to an Earth object that represents the "state" of the Earth at a given Terrestrial Julian date

Namespace: ASCOM.Astrometry.NOVASCOM
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public interface IEarth
Visual Basic
Public Interface IEarth
Visual C++
public interface class IEarth

Remarks

Objects of class Earth represent the "state" of the Earth at a given Terrestrial Julian date. The state includes barycentric and heliocentric position vectors for the earth, plus obliquity, nutation and the equation of the equinoxes. Unless set by the client, the Earth ephemeris used is computed using an internal approximation. The client may optionally attach an ephemeris object for increased accuracy.

Ephemeris Generator
The ephemeris generator object used with NOVAS-COM must support a single method GetPositionAndVelocity(tjd). This method must take a terrestrial Julian date (like the NOVAS-COM methods) as its single parameter, and return an array of Double containing the rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity (KM/sec.). In addition, it must support three read/write properties BodyType, Name, and Number, which correspond to the Type, Name, and Number properties of Novas.Planet.

See Also