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




in_features
The input features that can be point, polyline, polygon or multipoint type. (In, Required)
near_features
The near features used to find the nearest features from input features. There can be one or more entries of near features; each entry can be of point, polyline, polygon or multipoint type. When multiple entries of near features are specified, a new field NEAR_FC is added to the input table to store the paths of the source feature class that contains the nearest features. (In, Required)
out_table
The output table that will contain the proximity information—such as IN_FID, NEAR_FID, NEAR_DIST—and other attributes—such as location (NEAR_X, NEAR_Y), angle (NEAR_ANGLE)—of the near feature and the NEAR_FC, if necessary. (Out, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_features As Object, _
   ByVal near_features As Object, _
   ByVal out_table As Object _
)
Visual Basic (Usage)Copy Code
Dim in_features As Object
Dim near_features As Object
Dim out_table As Object
 
Dim instance As GenerateNearTable(in_features, near_features, out_table)
C# 
public GenerateNearTable( 
   object in_features,
   object near_features,
   object out_table
)

Parameters

in_features
The input features that can be point, polyline, polygon or multipoint type. (In, Required)
near_features
The near features used to find the nearest features from input features. There can be one or more entries of near features; each entry can be of point, polyline, polygon or multipoint type. When multiple entries of near features are specified, a new field NEAR_FC is added to the input table to store the paths of the source feature class that contains the nearest features. (In, Required)
out_table
The output table that will contain the proximity information—such as IN_FID, NEAR_FID, NEAR_DIST—and other attributes—such as location (NEAR_X, NEAR_Y), angle (NEAR_ANGLE)—of the near feature and the NEAR_FC, if necessary. (Out, Required)

See Also

© 2010 All Rights Reserved.