iLand
Public Member Functions | List of all members
Sun Class Reference

Sun handles calculations of day lengths, etc. More...

#include <climate.h>

Public Member Functions

void setup (const double latitude_rad)
 
QString dump ()
 
const double & daylength (const int day) const
 
int longestDay () const
 
bool northernHemishere () const
 
int dayShorter10_5hrs () const
 
int dayShorter14_5hrs () const
 

Detailed Description

Sun handles calculations of day lengths, etc.

Member Function Documentation

◆ daylength()

const double & Sun::daylength ( const int  day) const
inline

◆ dayShorter10_5hrs()

int Sun::dayShorter10_5hrs ( ) const
inline

◆ dayShorter14_5hrs()

int Sun::dayShorter14_5hrs ( ) const
inline

◆ dump()

QString Sun::dump ( )

◆ longestDay()

int Sun::longestDay ( ) const
inline

◆ northernHemishere()

bool Sun::northernHemishere ( ) const
inline

◆ setup()

void Sun::setup ( const double  latitude_rad)

The documentation for this class was generated from the following files: