元编程参考文档

地形河流

1 个节点

本页内容 1

追踪河流

函数

0 到 1 的河流遮罩:水面为 1,在河岸处经过柔化宽度降到 0。

签名
追踪河流 -> Scalar Field
    高度图: Scalar Field
    最小集水面积(平方千米): 数字
    一平方千米处河宽(米): 数字
    最小河宽(米): 数字
    河岸柔化宽度(米): 数字
    仅主干: 真否
    静水范围(米): 数字
    最大坡降: 数字
ScalarField2D TraceRivers(
    ScalarField2D heightmap,
    double minimumCatchmentSquareKilometres = 0.5,
    double widthAtOneSquareKilometreMetres = 12,
    double minimumWidthMetres = 0,
    double edgeSoftnessMetres = 3,
    bool mainStemOnly = false,
    double standingWaterMetres = 0,
    double maximumGradient = 0)

参数

名称类型默认值说明
高度图Scalar Field—The terrain, metres; usually the eroded heightmap.
最小集水面积(平方千米)数字0.5Catchment at which a channel counts as a river; smaller values bring in tributaries. With Main Stem Only, where the traced stem ends upstream.
一平方千米处河宽(米)数字12River width where its catchment is one square kilometre; width grows with the square root of catchment, as hydraulic geometry has it.
最小河宽(米)数字0The narrowest a river is drawn. A map cut out of a landscape that a large river crosses sees only the small part of its catchment that lies on the map, so the catchment alone would draw it far too thin; this is its real width.
河岸柔化宽度(米)数字3Width of the fall-off at each bank.
仅主干真否FalseOnly the main river: from the outlet that drains the most, upstream along the donor that drains the most at every step, to where its catchment falls below Minimum Catchment Square Kilometres.
静水范围(米)数字0Spreads the water from the traced river over the connected ground lying within this height of it, above or below, - the flat water surface a survey records where the river runs wide. 0 draws the traced path alone.
最大坡降数字0With Main Stem Only, where the stem stops climbing: rise over run (0.02 is 2 m per 100 m) averaged over the last 200 m, from 400 m above the mouth. A large river is nearly level, and on a map cut out of a landscape most of its catchment lies off the map, so upstream the largest donor can be a side canyon climbing out of the gorge; this ends the river where that climb begins. 0 does not limit it.

返回

结果Scalar Field
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
地形河流
所属包
程序化生成