元編程參考文件

地形河流

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
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
地形河流
所屬包
程序化生成