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


IHydrologyOp2.Sink Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

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,
  IGeoDataset** Sink
);
[C++]

Parameters directionRaster [in]
directionRaster is a parameter of type IGeoDataset Sink [out, retval]
Sink 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