SunObservation Class

Calculates sunrises, sunsets, and other observations of the sun.

Definition

Namespace: InnerDrive.Geography
Assembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.2.9017.0
C#
public sealed class SunObservation : AstronomyObservation
Inheritance
Object    AstronomyObservation    SunObservation

Constructors

SunObservation(IGeoLocatable) Creates a new instance of SunObservation for today at the specified location for sunrise and sunset.
SunObservation(DateTimeOffset, IGeoLocatable) Creates a new instance of SunObservation for the date and location specified for sunrise and sunset.
SunObservation(DateTimeOffset, IGeoLocatable, IdtTimeZone, Double) Creates a new instance of SunObservation for the date and location specified using the given time zone for an arbitrary solar altitude.

Properties

Altitude Gets the observed altitude of the object above (or below) the horizon on ObservationDate at Meridian.
(Inherited from AstronomyObservation)
Daylight Gets the range of time that the object is above the horizon on ObservationDate.
Declination Gets the declination of the observed object at the time it crosses the meridian.
(Inherited from AstronomyObservation)
HasRise Gets an indication of whether the observed object rises on the date given in ObservationDate
(Inherited from AstronomyObservation)
HasSet Gets an indication of whether the sun sets on the date given in ObservationDate
(Inherited from AstronomyObservation)
Horizon Gets the sun's altitude above (+) or below (-) the horizon used for these observations.
Location Gets the location to which these observations apply.
(Inherited from AstronomyObservation)
Meridian Gets the date and time the observed object crosses (transits) the meridian at the observer's location.
(Inherited from AstronomyObservation)
ObservationDate Gets the date and time used to calculate these observations.
(Inherited from AstronomyObservation)
ObservationDateRaw Gets or sets the ObservationDate value initially provided by the caller.
(Inherited from AstronomyObservation)
RiseAzimuth Gets the Direction (azimuth) of the object at RiseTime.
(Inherited from AstronomyObservation)
RiseTime Gets the date and time that the observed object rises above the horizon.
(Inherited from AstronomyObservation)
SetAzimuth Gets the Direction (azimuth) of the object at SetTime.
(Inherited from AstronomyObservation)
SetTime Gets the date and time that the observed object sets below the horizon.
(Inherited from AstronomyObservation)
TimeZone Gets the time zone to use to report the observations.
(Inherited from AstronomyObservation)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDaytime Gets an indication of whether dateTimeOffset occurs during daylight at place.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Creates a String representation of this AstronomyObservation.
(Inherited from AstronomyObservation)
ToString(String, IFormatProvider) Formats the value of the current instance using the specified format.
(Inherited from AstronomyObservation)

Fields

AstronomicalTwilightAltitude Gets the altitude below the horizon which defines astronomical twilight (-18°).
CivilTwilightAltitude Gets the altitude below the horizon which defines civil twilight (-6°).
MaximumAltitude Gets the largest permissible value of Horizon.
MinimumAltitude Gets the smallest permissible value of Horizon.
NauticalTwilightAltitude Gets the altitude below the horizon which defines nautical twilight (-12°).
SunriseAltitude Gets the altitude below the horizon of sunrises and sunsets (-51', or -0.85°).

See Also