Click or drag to resize

SolarSystemBody Class

Provides astrometric and topocentric coordinates for the planets, sun and moon.
Inheritance Hierarchy
SystemObject
  ASCOM.ToolsSolarSystemBody

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 2.1.0+15bd426746e14ecc59ad81c289f923331d1aae8b
Syntax
public class SolarSystemBody

The SolarSystemBody type exposes the following members.

Constructors
 NameDescription
Public methodSolarSystemBody Creates a SolarSystem object to which a pre-configured Ephemeris object can be added
Public methodSolarSystemBody(Body) Create a SolarSystem object for a specified target body
Public methodSolarSystemBody(SolarSystemBodyOrbitDataSource, String)Initializes a new instance of the SolarSystemBody class
Top
Properties
 NameDescription
Public propertyEphemeris Ephemeris object used by comet and asteroid calculations.
Public propertyName Name of the body
Public propertyRefraction True to create coordinates corrected for refraction. (Only used by AltAzCoordinates(DateTime).)
Public propertySiteHeight Site height (metres)
Public propertySiteLatitude Site latitude (North positive)
Public propertySiteLongitude Site longitude (East positive)
Public propertySitePressure Site pressure (Hectopascal or millibar)
Public propertySiteTemperature Site temperature (Celsius)
Top
Methods
 NameDescription
Public methodAltAzCoordinates Return the body's topocentric coordinates at a given time
Public methodAstrometricCoordinates Return the body's astrometric coordinates at a given time
Public methodGeoCentricPosition Returns the body's geocentric position and velocity vectors
Public methodHelioCentricPosition Returns the body's heliocentric position and velocity vectors
Public methodTopocentricCoordinates Return the body's topocentric coordinates at a given time
Top
Remarks
This is an easy to use tool that provides coordinates for major solar system bodies. Internally it uses the JPL DE421 ephemeris data contained within the NOVAS component. Pluto is included for convenience even though it is no longer recognised as a major planet by the IAU.
See Also