|
2.0.0b10
catchment modelling framework
|
represents the connectivity of cells to each other More...
Collaboration diagram for Topology:represents the connectivity of cells to each other
Public Member Functions | |
| void | AddNeighbor (Cell &target, double flowwidth) |
| Adds a neighbor cell to the topology with flowwidth. | |
| double | ContributingArea () const |
| Get the contributing area (steepest path upwards) | |
| double | flowwidth (Cell &target) |
| returns the flow width between this cell and the target cell. Returns 0 if no topology is defined | |
| cmf::geometry::point | get_position () const |
| Returns the center of the cell. | |
| Cell * | MainOutlet (bool forceRecalc=false) |
| Returns the mainoutlet (steepest lower neighbor) | |
| size_t | neighbor_count () const |
| Returns the number of neighbors. | |
| void | RemoveNeighbor (Topology &target) |
| Removes the topological relation to the given cell. | |
Static Public Member Functions | |
| static void | calculate_contributing_area (const cmf::upslope::cell_vector &) |
| Calculates the contributing area for a bunch of cells. | |
Public Attributes | |
| Cell *const | cell |
| The cell, this topology belongs to. | |
| double & | x |
| References cell.x. | |
| double & | y |
| References cell.y. | |
| double & | z |
| References cell.z. | |