Calculates the Hack quantities, namely, assigned a point in a basin, the projection on the plane of the distance, or the 3d distance, from the watershed measured along the network (until it exists) and then, proceeding again from valley upriver, along the maximal slope lines.

Inputs



Output



Notes

If the elevation GridCoverage is null then the models run in 2d mode, othervise it runs in 3d mode.

For each network confluence, the direction of the tributary with maximal contributing area is chosen. If the tributaries have the same area, one of the two directions is chosen at random.



References