User Tools

Site Tools


api:dk11:delphi:gishydrology.tgis_hydrology.basin_tgis_layerpixel_tgis_extent_tgis_layerpixel_integer

Table of Contents

TGIS_Hydrology.Basin method

DK11 for Delphi | GisHydrology.TGIS_Hydrology.Basin | Constructors | Methods | Events

Generates a basin grid from a flow direction grid.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure Basin(
    const _flowDir : TGIS_LayerPixel;
    const _extent : TGIS_Extent;
    const _basins : TGIS_LayerPixel;
    const _threshold : Integer = BASIN_THRESHOLD
  );
// C++ Builder
public:
  void Basin(
    TGIS_LayerPixel* const _flowDir,
    TGIS_Extent* const _extent,
    TGIS_LayerPixel* const _basins,
    const int _threshold
  );

Parameters

Name Type Description
_flowDir TGIS_LayerPixel an input flow direction grid
_extent TGIS_Extent an extent to be processed
_basins TGIS_LayerPixel the output grid layer
_threshold Integer use this property to limit basins with a small number of cells; default parameter is 0

References

2021/05/26 01:14

Page Tools