#include <grid.h>
Collaboration diagram for flowinfo:
Public Member Functions | |
flowinfo (void) | |
~flowinfo () | |
float | getContributing (void) |
float | getTotalContributing (void) |
float | getTotalContributing (flowinfo *receivingCell) |
void | setInflow (flowinfo *pCell) |
void | setShare (float s) |
Private Attributes | |
flowinfo * | nbsFrom [8] |
int | contributing |
float | total |
float | share |
bool | checked |
Definition at line 62 of file grid.h.
flowinfo::flowinfo | ( | void | ) | [inline] |
float flowinfo::getContributing | ( | void | ) | [inline] |
float flowinfo::getTotalContributing | ( | void | ) | [inline] |
Definition at line 75 of file grid.h.
References total.
Referenced by TGrid::countHigherCellsGIS(), and getTotalContributing().
float flowinfo::getTotalContributing | ( | flowinfo * | receivingCell | ) |
Definition at line 280 of file grid.cpp.
References checked, contributing, getTotalContributing(), nbsFrom, share, and total.
Here is the call graph for this function:
void flowinfo::setInflow | ( | flowinfo * | pCell | ) |
void flowinfo::setShare | ( | float | s | ) | [inline] |
flowinfo* flowinfo::nbsFrom[8] [private] |
int flowinfo::contributing [private] |
Definition at line 66 of file grid.h.
Referenced by flowinfo(), getContributing(), getTotalContributing(), and setInflow().
float flowinfo::total [private] |
float flowinfo::share [private] |
Definition at line 68 of file grid.h.
Referenced by flowinfo(), getTotalContributing(), and setShare().
bool flowinfo::checked [private] |