Body or location

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

Syntax

C#
public enum Target
Visual Basic
Public Enumeration Target
Visual C++
public enum class Target

Members

Member nameValueDescription
Mercury0 Mercury
Venus1 Venus
Earth2 Earth
Mars3 Mars
Jupiter4 Jupiter
Saturn5 Saturn
Uranus6 Uranus
Neptune7 Neptune
Pluto8 Pluto
Moon9 Moon
Sun10 Sun
SolarSystemBarycentre11 Solar system barycentre
EarthMoonBarycentre12 Earth moon barycentre
Nutations13 Nutations

Remarks

This numbering convention is used by ephemeris routines; do not confuse with the Body enum, which is used in most other places within NOVAS3.

The numbering convention for 'target' and'center' is:

             0  =  Mercury           7 = Neptune
             1  =  Venus             8 = Pluto
             2  =  Earth             9 = Moon
             3  =  Mars             10 = Sun
             4  =  Jupiter          11 = Solar system bary.
             5  =  Saturn           12 = Earth-Moon bary.
             6  =  Uranus           13 = Nutations (long. and obliq.)

If nutations are desired, set 'target' = 14; 'center' will be ignored on that call.

See Also