libosmscout 0.1
|
#include <osmscout/lib/CoreImportExport.h>
#include <osmscout/GeoCoord.h>
#include <osmscout/system/Compiler.h>
#include <osmscout/system/Math.h>
#include <osmscout/util/Time.h>
#include <osmscout/util/String.h>
#include <osmscout/util/SunriseSunset.h>
#include <optional>
#include <string>
Namespaces | |
namespace | osmscout |
Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license. | |
Typedefs | |
using | osmscout::SunriseSunsetRes = std::optional< std::tuple< Timestamp, Timestamp > > |
Functions | |
SunriseSunsetRes | osmscout::GetAstronomicalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the astronomical twilight time for the given date and given location. | |
SunriseSunsetRes | osmscout::GetCivilTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the civil twilight time for the given date and given location. | |
SunriseSunsetRes | osmscout::GetNauticalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the nautical twilight time for the given date and given location. | |
SunriseSunsetRes | osmscout::GetSunriseSunset (const GeoCoord &location, const Timestamp &day, double sunAltitude) |
Calculate the sunrise and sunset times for the given date, given location, and sun altitude. | |
SunriseSunsetRes | osmscout::GetSunriseSunset (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the sunrise and sunset times for the given date and given location. | |