AskGeo .NET  1.1.0
AskGeo Libraries for .NET
 All Classes Namespaces Functions Variables Enumerations Pages
Public Member Functions | Static Public Attributes
AskGeo.Astronomy.ZenithEventType Class Reference

Enumerates the event types that mark important moments in the course of astronomical body's passage across the celestial sphere of an observer. More...

List of all members.

Public Member Functions

double GetElevationDeg ()
int GetSignAfter ()

Static Public Attributes

static readonly ZenithEventType Sample = new ZenithEventType("Sample", double.NaN, 0, PartOfDisk.CENTER)
static readonly ZenithEventType MinElevation = new ZenithEventType("MinElevation", double.NaN, 0, PartOfDisk.CENTER)
static readonly ZenithEventType AstronomicalDawn = new ZenithEventType("AstronomicalDawn", -18.0, 1, PartOfDisk.CENTER)
static readonly ZenithEventType NauticalDawn = new ZenithEventType("NauticalDawn", -12.0, 1, PartOfDisk.CENTER)
static readonly ZenithEventType CivilDawn = new ZenithEventType("CivilDawn", -6.0, 1, PartOfDisk.CENTER)
static readonly ZenithEventType RiseUpperLimb = new ZenithEventType("RiseUpperLimb", 0.0, 1, PartOfDisk.UPPER_LIMB)
static readonly ZenithEventType RiseCenter = new ZenithEventType("RiseCenter", 0.0, 1, PartOfDisk.CENTER)
static readonly ZenithEventType RiseLowerLimb = new ZenithEventType("RiseLowerLimb", 0.0, 1, PartOfDisk.LOWER_LIMB)
static readonly ZenithEventType SolarDawn = new ZenithEventType("SolarDawn", 6.0, 1, PartOfDisk.CENTER)
static readonly ZenithEventType MaxElevation = new ZenithEventType("MaxElevation", double.NaN, 0, PartOfDisk.CENTER)
static readonly ZenithEventType SolarDusk = new ZenithEventType("SolarDusk", 6.0, -1, PartOfDisk.CENTER)
static readonly ZenithEventType SetLowerLimb = new ZenithEventType("SetLowerLimb", 0.0, -1, PartOfDisk.LOWER_LIMB)
static readonly ZenithEventType SetCenter = new ZenithEventType("SetCenter", 0.0, -1, PartOfDisk.CENTER)
static readonly ZenithEventType SetUpperLimb = new ZenithEventType("SetUpperLimb", 0.0, -1, PartOfDisk.UPPER_LIMB)
static readonly ZenithEventType CivilDusk = new ZenithEventType("CivilDusk", -6.0, -1, PartOfDisk.CENTER)
static readonly ZenithEventType NauticalDusk = new ZenithEventType("NauticalDusk", -12.0, -1, PartOfDisk.CENTER)
static readonly ZenithEventType AstronomicalDusk = new ZenithEventType("AstronomicalDusk", -18.0, -1, PartOfDisk.CENTER)

Detailed Description

Enumerates the event types that mark important moments in the course of astronomical body's passage across the celestial sphere of an observer.


Member Function Documentation

double AskGeo.Astronomy.ZenithEventType.GetElevationDeg ( )

The elevation above the horizon (in degrees) at which this event takes place. If the event does not take place at a particular elevation, such as the minimum or maximum elevation, then this value is double.NaN.

Returns:
The elevation in degrees of the event type in question, or NaN if the event type is not at a particular elevation.
int AskGeo.Astronomy.ZenithEventType.GetSignAfter ( )

Indicates whether this event occurs during a rising of the body (the elevation is increasing over time), the setting of the body (the elevation is degreasing over time), or at a time when the body is neither rising nor setting (e.g., at minimum or maximum elevation), or when it is indeterminate (e.g., with a sample).

Returns:
1 for rising, -1 for setting, and 0 otherwise.

Member Data Documentation

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.AstronomicalDawn = new ZenithEventType("AstronomicalDawn", -18.0, 1, PartOfDisk.CENTER)
static

Astronomical dawn occurs when the Sun climbs to 18 degrees below the horizon. To a human the sky is still dark but it is no longer night from an astronomical perspective. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.AstronomicalDusk = new ZenithEventType("AstronomicalDusk", -18.0, -1, PartOfDisk.CENTER)
static

Astronomical dusk occurs when the Sun falls to 18 degrees below the horizon. To a human the sky has been dark at this point for some time already, but it is after this time and before astronomical dawn that the sky is dark enough for all astronomical observations. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.CivilDawn = new ZenithEventType("CivilDawn", -6.0, 1, PartOfDisk.CENTER)
static

Civil dawn occurs when the Sun climbs to 6 degrees below the horizon. This is the time after which outdoor activities may be possible without artificial lighting. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.CivilDusk = new ZenithEventType("CivilDusk", -6.0, -1, PartOfDisk.CENTER)
static

Civil dusk occurs when the Sun falls to 6 degrees below the horizon. This is the time after which outdoor activities may not be possible without artificial lighting. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.MaxElevation = new ZenithEventType("MaxElevation", double.NaN, 0, PartOfDisk.CENTER)
static

The moment when the body is at a local maximum in elevation (i.e., the highest above the horizon). For the Sun, this corresponds to solar noon.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.MinElevation = new ZenithEventType("MinElevation", double.NaN, 0, PartOfDisk.CENTER)
static

The moment when the body is at a local minimum in elevation (i.e., the furthest below the horizon). For the Sun, this corresponds to solar midnight.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.NauticalDawn = new ZenithEventType("NauticalDawn", -12.0, 1, PartOfDisk.CENTER)
static

Nautical dawn occurs when the Sun climbs to 12 degrees below the horizon. This is the time after which navigation at sea by the horizon is possible. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.NauticalDusk = new ZenithEventType("NauticalDusk", -12.0, -1, PartOfDisk.CENTER)
static

Nautical dusk occurs when the Sun falls to 12 degrees below the horizon. This is the time after which navigation at sea by the horizon is no longer possible. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.RiseCenter = new ZenithEventType("RiseCenter", 0.0, 1, PartOfDisk.CENTER)
static

The rise of the center of the disk of an astronomical body is a less common definition for the rise of the Sun or Moon, but it is included for the sake of completeness.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.RiseLowerLimb = new ZenithEventType("RiseLowerLimb", 0.0, 1, PartOfDisk.LOWER_LIMB)
static

The rise of the lower limb of an astronomical body is the time when the bottom of the body rises above the horizon. After this time the full disk of the body is fully visible. In some cases, this moment is considered to be sunrise or moonrise.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.RiseUpperLimb = new ZenithEventType("RiseUpperLimb", 0.0, 1, PartOfDisk.UPPER_LIMB)
static

The rise of the upper limb of an astronomical body is the time when the top of the body first rises above the horizon. This is the moment that is most commonly thought of as sunrise or moonrise.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.Sample = new ZenithEventType("Sample", double.NaN, 0, PartOfDisk.CENTER)
static

A moment in time that is not otherwise important but that has been recorded for internal reasons. Includes the end points of the user-specified interval during which the library is searching for ZenithEvents. In most cases, the user will not need to consider ZenithEvent objects with this type.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.SetCenter = new ZenithEventType("SetCenter", 0.0, -1, PartOfDisk.CENTER)
static

The setting of the center of the disk of an astronomical body is a less common definition for the setting of the Sun or Moon, but it is included for the sake of completeness.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.SetLowerLimb = new ZenithEventType("SetLowerLimb", 0.0, -1, PartOfDisk.LOWER_LIMB)
static

The set of the lower limb of an astronomical body is the time when the bottom of the body falls below the horizon. After this time the full disk of the body is no longer fully visible. In some cases, this moment is considered to be sunset or moonset.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.SetUpperLimb = new ZenithEventType("SetUpperLimb", 0.0, -1, PartOfDisk.UPPER_LIMB)
static

The setting of the upper limb of an astronomical body is the time when the top of the body falls below the horizon and no part of the body is visible any longer. This is the moment that is most commonly thought of as sunset or moonset.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.SolarDawn = new ZenithEventType("SolarDawn", 6.0, 1, PartOfDisk.CENTER)
static

Solar dawn occurs when the Sun climbs to 6 degrees above the horizon. This is the time after which the sky appears fully illuminated. This event is typically only talked about for the Sun.

readonly ZenithEventType AskGeo.Astronomy.ZenithEventType.SolarDusk = new ZenithEventType("SolarDusk", 6.0, -1, PartOfDisk.CENTER)
static

Solar dusk occurs when the Sun falls to 6 degrees above the horizon. This is the time after which the sky begins to darken as sunset approaches. This event is typically only talked about for the Sun.


The documentation for this class was generated from the following file: