This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > ID > IDistanceOp2 Interface > IDistanceOp2.Corridor Method (ArcObjects .NET 10.4 SDK) |
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
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 |