Environment specifes the geographical properties of the landscape.
More...
#include <environment.h>
Environment specifes the geographical properties of the landscape.
This is achieved by specifying (user defined) values (e.g. soil depth) for each resource unit. Resource units are specified by x/y indices. see http://iland-model.org/initialize+the+landscape
◆ ~Environment()
Environment::~Environment |
( |
| ) |
|
◆ climate()
Climate * Environment::climate |
( |
| ) |
const |
|
inline |
get climate at current pos
◆ climateList()
QList< Climate * > Environment::climateList |
( |
| ) |
const |
|
inline |
◆ currentID()
int Environment::currentID |
( |
| ) |
const |
|
inline |
current grid id (in grid mode the id of the stand grid, in matrix mode simply the an autogenerated index)
◆ isSetup()
bool Environment::isSetup |
( |
| ) |
const |
|
inline |
◆ loadFromFile()
bool Environment::loadFromFile |
( |
const QString & |
fileName | ) |
|
◆ loadFromString()
bool Environment::loadFromString |
( |
const QString & |
source | ) |
|
◆ setDefaultValues()
◆ setGridMode()
bool Environment::setGridMode |
( |
const QString & |
grid_file_name | ) |
|
switch to 'grid-mode': load the grid provided by grid_file_name
◆ setPosition()
void Environment::setPosition |
( |
const QPointF |
position | ) |
|
set position (metric coordinates). Subsequent calls to retriever functions are for the current location.
sets the "pointer" to a "position" (metric coordinates).
All specified values are set (also the climate/species-set pointers).
◆ speciesSet()
get species set on current pos
◆ speciesSetList()
QList< SpeciesSet * > Environment::speciesSetList |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: