#include <Sunclock.hpp>
◆ Sunclock()
Sunclock::Sunclock |
( |
double const & |
latitude_, |
|
|
double const & |
longitude_, |
|
|
double const & |
tz_offset_ = 0 |
|
) |
| |
◆ irradiance() [1/2]
double Sunclock::irradiance |
( |
| ) |
|
◆ irradiance() [2/2]
double Sunclock::irradiance |
( |
time_t |
when | ) |
|
Specifically, we calculate Direct Normal Irradiance That is we do not consider atmospheric components like cloud cover, moisture content etc.
- Parameters
-
- Returns
- a value representing irradiance (power per unit area)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ solar_noon() [1/2]
time_t Sunclock::solar_noon |
( |
| ) |
|
◆ solar_noon() [2/2]
time_t Sunclock::solar_noon |
( |
time_t |
date | ) |
|
Returns solar_noon time for given date
- Parameters
-
date | only date is considered |
- Returns
- solar_noon time
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ sunrise() [1/2]
time_t Sunclock::sunrise |
( |
| ) |
|
◆ sunrise() [2/2]
time_t Sunclock::sunrise |
( |
time_t |
date | ) |
|
Returns sunrise time for given date
- Parameters
-
date | only date is considered |
- Returns
- sunrise time
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ sunset() [1/2]
time_t Sunclock::sunset |
( |
| ) |
|
◆ sunset() [2/2]
time_t Sunclock::sunset |
( |
time_t |
date | ) |
|
Returns sunset time for given date
- Parameters
-
date | only date is considered |
- Returns
- sunset time
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The documentation for this class was generated from the following files: