BH.oM.LadybugTools.SunData¶
Class structure¶
Implemented interfaces and base types¶
The SunData is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
Name | Type | Description | Quantity |
---|---|---|---|
SunriseAzimuth | double | The azimuth angle at sunrise in degrees. Sunrise is defined as the time at which the sun is first visible above the horizon, ignoring atmospheric effects. | - |
SunriseTime | DateTime | The time of actual sunrise, defined as the time at which the sun is first visible above the horizon, ignoring atmospheric effects. | - |
NoonAltitude | double | The altitude angle at solar noon (when the sun is at its highest point) in degrees. | - |
NoonTime | DateTime | The time that the altitude is highest. | - |
SunsetAzimuth | double | The azimuth angle at sunset in degrees. Sunset is defined as the time at which the sun has just finished passing the horizon, ignoring atmospheric effects. | - |
SunsetTime | DateTime | The time of actual sunset, defined as the time at which the sun has just finished passing the horizon, ignoring atmospheric effects. | - |
Code and Schema¶
C# implementation¶
Assembly: LadybugTools_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/LadybugTools_oM/SunData.json"
}
The JSON Schema is available on github here: