SolarSystemBody Class

Provides astrometric and topocentric coordinates for the planets, sun and moon.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public class SolarSystemBody
Inheritance
Object    SolarSystemBody

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.

Constructors

SolarSystemBody Creates a SolarSystem object to which a pre-configured Ephemeris object can be added
SolarSystemBody(Body) Create a SolarSystem object for a specified target body
SolarSystemBody(SolarSystemBodyOrbitDataSource, String)Initializes a new instance of the SolarSystemBody class

Properties

Ephemeris Ephemeris object used by comet and asteroid calculations.
Name Name of the body
Refraction True to create coordinates corrected for refraction. (Only used by AltAzCoordinates(DateTime).)
SiteHeight Site height (metres)
SiteLatitude Site latitude (North positive)
SiteLongitude Site longitude (East positive)
SitePressure Site pressure (Hectopascal or millibar)
SiteTemperature Site temperature (Celsius)

Methods

AltAzCoordinates Return the body's topocentric coordinates at a given time
AstrometricCoordinates Return the body's astrometric coordinates at a given time
GeoCentricPosition Returns the body's geocentric position and velocity vectors
HelioCentricPosition Returns the body's heliocentric position and velocity vectors
TopocentricCoordinates Return the body's topocentric coordinates at a given time

Version Information

.NET Standard

Supported in: 2.0

See Also