ESRI.ArcGIS.SpatialAnalystTools
CostPath Constructor(Object,Object,Object,Object)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.SpatialAnalystTools Namespace > CostPath Class > CostPath Constructor : CostPath Constructor(Object,Object,Object,Object)




in_destination_data
A raster or feature dataset that identifies those cells from which the least-cost path is determined to the least costly source. (In, Required)
in_cost_distance_raster
The name of a cost distance raster to be used to determine the least-cost path from the destination locations to a source. (In, Required)
out_raster
The output cost path raster. (Out, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_destination_data As Object, _
   ByVal in_cost_distance_raster As Object, _
   ByVal in_cost_backlink_raster As Object, _
   ByVal out_raster As Object _
)
Visual Basic (Usage)Copy Code
Dim in_destination_data As Object
Dim in_cost_distance_raster As Object
Dim in_cost_backlink_raster As Object
Dim out_raster As Object
 
Dim instance As CostPath(in_destination_data, in_cost_distance_raster, in_cost_backlink_raster, out_raster)
C# 
public CostPath( 
   object in_destination_data,
   object in_cost_distance_raster,
   object in_cost_backlink_raster,
   object out_raster
)

Parameters

in_destination_data
A raster or feature dataset that identifies those cells from which the least-cost path is determined to the least costly source. (In, Required)
in_cost_distance_raster
The name of a cost distance raster to be used to determine the least-cost path from the destination locations to a source. (In, Required)
in_cost_backlink_raster
The name of a cost back link raster used to determine the path to return to a source via the least-cost path. (In, Required)
out_raster
The output cost path raster. (Out, Required)

See Also

© 2010 All Rights Reserved.