QtCraft API C++ classes QML types Handbook

QcDeltaArms Class

The arms of a river delta (decision E-850): a network that branches from the river at the fan's apex two or three levels deep towards the sea, with a few side arms that leave an arm and join it again around an island. More...

Header: #include <worldgen/terrain/QcDeltaArms.h>

Public Functions

double channelAt(double along, double lateral, double halfWidth, double edge) const

Detailed Description

Every arm meanders, varies in width and grows narrower and shallower towards the sea; whether an arm is there, where it branches, how far it strays and how it bends come from the delta's traits, so every column of a delta sees the same network. Arms are given in the fan's frame: along it (0 at the apex, 1 at the mouth) and across it in blocks.

Member Function Documentation

double QcDeltaArms::channelAt(double along, double lateral, double halfWidth, double edge) const

Returns the ground of the arms at along, lateral blocks across the fan where its half width is halfWidth: under the arms down to their beds, rising over their banks; edge is the height of the banks at the water line.