Click or drag to resize

Celestial Class

The main class for handling location based celestial information.
Inheritance Hierarchy
SystemObject
  CoordinateSharpCelestial

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.1.1.1-beta.2
Syntax
C#
[SerializableAttribute]
public class Celestial

The Celestial type exposes the following members.

Constructors
  NameDescription
Public methodCelestial
Creates an empty Celestial.
Public methodCode exampleCelestial(Double, Double, DateTime)
Creates a Celestial object based on a location and specified date.
Top
Properties
  NameDescription
Public propertyAdditionalSolarTimes
Additional solar event times based on the provided date and location.
Public propertyApogee
Moons apogee details based on the provided date.
Public propertyAstrologicalSigns
Astrological signs based on the provided date.
Public propertyIsMoonUp
Determine if the moon is currently up, based on moon set and moon rise time at the provided location and date.
Public propertyIsSunUp
Determine if the sun is currently up, based on sunset and sunrise time at the provided location and date.
Public propertyLunarEclipse
Lunar eclipse details.
Public propertyMoonAltitude
Moon altitude in degrees (E of N) (corrected for parallax and refraction).
Public propertyMoonAzimuth
Moon azimuth in degrees (E of N).
Public propertyMoonCondition
Moon's condition based on the provided date.
Public propertyMoonDistance
Estimated moon distance from the earth.
Public propertyMoonIllum
Moon illumination details based on the provided date.
Public propertyCode exampleMoonRise
Moon rise time.
Public propertyCode exampleMoonSet
Moon set time.
Public propertyPerigee
Moons perigee details based on the provided date.
Public propertySolarEclipse
Solar eclipse details.
Public propertySunAltitude
Sun altitude in degrees (E of N).
Public propertySunAzimuth
Sun azimuth in degrees (E of N).
Public propertySunCondition
Sun's Condition based on the provided date.
Public propertyCode exampleSunRise
Sunrise time.
Public propertyCode exampleSunSet
Sunset time.
Top
Methods
  NameDescription
Public methodStatic memberCode exampleCalculateCelestialTimes
Calculate celestial data based on latitude, longitude and UTC date at the location.
Public methodStatic memberCode exampleCalculateMoonData
Calculate moon data based on latitude, longitude and UTC date at the location.
Public methodStatic memberCode exampleCalculateSunData
Calculate sun data based on latitude, longitude and UTC date at the location.
Public methodStatic memberCode exampleCelestial_LocalTime
Converts all Celestial values to local time.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberCode exampleGet_Lunar_Eclipse_Table
Returns a List containing solar eclipse data for the century at the specified location. Century return is based on the date passed.
Public methodStatic memberCode exampleGet_Solar_Eclipse_Table
Returns a List containing solar eclipse data for the century at the specified location. Century returned is based on the date passed.
Public methodStatic memberCode exampleGetApogees
Returns Apogee object containing last and next apogees based on the specified UTC date.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberCode exampleGetPerigees
Returns Perigee object containing last and next perigees based on the specified UTC date.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberCode exampleLunar_LocalTime
Converts lunar time values to local time.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberCode exampleSolar_LocalTime
Converts solar time values to local time.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can calculate various pieces of solar and lunar data, based on location and date
See Also