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


IHydrologyOp2.Sink 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.Sink Method
ArcGIS Developer Help

IHydrologyOp2.Sink Method

Creates a raster identifying all sinks, or areas of internal drainage.

[Visual Basic .NET]
Public Function Sink ( _
    ByVal directionRaster As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset Sink (
    IGeoDataset directionRaster
);
[C++]
HRESULT Sink(
  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

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

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

 

See Also

IHydrologyOp2 Interface