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


IDistanceOp2.Corridor Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IDistanceOp2.Corridor Method

Calculates for each cell location the sum of the accumulative costs for two input accumulative-cost datasets.

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

Parameters distance1 [in]
distance1 is a parameter of type IGeoDataset distance2 [in]
distance2 is a parameter of type IGeoDataset Corridor [out, retval]
Corridor is a parameter of type IGeoDataset

Product Availability

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

Remarks

distance1

an input Raster which was the output accumulated cost Raster from the IDistance::CostDistance or other Cost methods

distance2

an input Raster which was the output accumulated cost Raster from the IDistance::CostDistance or other Cost methods

 

See Also

IDistanceOp2 Interface