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


IDistanceOp2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > ID > IDistanceOp2 Interface
ArcGIS Developer Help

IDistanceOp2 Interface

Provides access to members that control the distance operations.

Product Availability

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

Members

Name Description
Method Corridor Calculates for each cell location the sum of the accumulative costs for two input accumulative-cost datasets.
Method CostAllocation Calculates for each output cell the zone that could be reached with the least accumulative cost.
Method CostBackLink Calculates the neighbor that is the next cell on the least-accumulative-cost path from a cell to a source cell.
Method CostDistance Calculates for each cell the least-accumulative-cost distance over a cost surface to a source cell or a set of source cells.
Method CostDistanceFull Calculates for each cell the least-accumulative-cost distance, backlink, and allocation over a cost surface to a source cell or a set of source cells.
Method CostPath Calculates the least-cost path(s) from selected cell(s) in the input data to the closest source cell.
Method CostPathAsPolyline Calculates the least-cost path(s) from selected points in the input data and returns it as a polyline.
Method EucAllocation Calculates for each cell the zone of the closest source cell (in Euclidean distance).
Method EucDirection Calculates the direction in degrees from each cell center to the cell center of the closest source.
Method EucDistance Calculates for each cell the Euclidean distance to the closest source.
Method EucDistanceFull Calculates for each cell optionally the Euclidean distance, direction, and allocation to the closest source.
Method PathAllocation Calculates for each output cell the zone that could be reached with the least accumulative cost.
Method PathBackLink Calculates the neighbor that is the next cell on the least-accumulative-path path from a cell to a source cell.
Method PathDistance Calculates for each cell the least-accumulative-path distance over a path surface to a source cell or a set of source cells.
Method PathDistanceFull Calculates for each cell the least-accumulative-cost distance, backlink, and allocation over a cost surface to a source cell or a set of source cells.

Classes that implement IDistanceOp2

Classes Description
RasterDistanceOp A mechanism for performing distance operations on rasters.

Remarks