ArcObjects Library Reference (SpatialAnalyst)  

IHydrologyOp.Basin Method

Creates a raster delineating all drainage basins.

[Visual Basic .NET]
Public Function Basin ( _
    ByVal directionRaster As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset Basin (
    IGeoDataset directionRaster
);
[C++]
HRESULT Basin(
  IGeoDataset* directionRaster,
  IGeoDataset** Basin
);
[C++]

Parameters

directionRaster [in]

  directionRaster is a parameter of type IGeoDataset

Basin [out, retval]

  Basin is a parameter of type IGeoDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

directionRaster an input Raster, RasterDataset, RasterBand, or RasterDescriptor showing the direction of flow out of each cell

This Raster can be created using the IHydrologyOp::FlowDirection method.

 

See Also

IHydrologyOp Interface

.NET Snippets

Create HydrologyOp Basin Raster