Provides access to members that control the distance operations.
**Note:** the IDistanceOp interface has been superseded byIDistanceOp2. Please consider using the more recent version.

#### Product Availability

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

#### Members

Description |
||
---|---|---|

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

CostAllocation | Calculates for each output cell the zone that could be reached with the least accumulative cost. | |

CostBackLink | Calculates the neighbor that is the next cell on the least-accumulative-cost path from a cell to a source cell. | |

CostDistance | Calculates for each cell the least-accumulative-cost distance over a cost surface to a source cell or a set of source cells. | |

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. | |

CostPath | Calculates the least-cost path(s) from selected cell(s) in the input data to the closest source cell. | |

CostPathAsPolyline | Calculates the least-cost path(s) from selected points in the input data and returns it as a polyline. | |

EucAllocation | Calculates for each cell the zone of the closest source cell (in Euclidean distance). | |

EucDirection | Calculates the direction in degrees from each cell center to the cell center of the closest source. | |

EucDistance | Calculates for each cell the Euclidean distance to the closest source. | |

EucDistanceFull | Calculates for each cell optionally the Euclidean distance, direction, and allocation to the closest source. |

#### CoClasses that implement IDistanceOp

CoClasses and Classes | Description |
---|---|

RasterDistanceOp | A mechanism for performing distance operations on rasters. |