This document is archived and information here might be outdated.  Recommended version.


IHydrologyOp2.Basin Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IH > IHydrologyOp2 Interface > IHydrologyOp2.Basin Method
ArcGIS Developer Help

IHydrologyOp2.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
);
[C++]
Parameters
directionRaster [in]

directionRaster 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

IHydrologyOp2 Interface