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




in_table
Table containing input parameters to create two-point lines based on a bearing and distance. Each row creates one line feature. (In, Required)
out_featureclass
Output line feature class. (Out, Required)
x_field
Input table field containing the x-values (longitude) of the starting point. (In, Required)
y_field
Input table field containing the y-values (latitude) of the starting point. (In, Required)
distance_field
Field in the input table containing values of the length of the output line. (In, Required)
distance_units
Units of measurement of the Distance field. The default is METERS. (In, Required)
bearing_field
Field in the input table containing direction values of the output line. (In, Required)
bearing_units
Units of measurement of the Bearing field. The default is DEGREES. (In, Required)
line_type
Type of two-point lines to construct. The default line type is GEODESIC. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_table As Object, _
   ByVal out_featureclass As Object, _
   ByVal x_field As Object, _
   ByVal y_field As Object, _
   ByVal distance_field As Object, _
   ByVal distance_units As String, _
   ByVal bearing_field As Object, _
   ByVal bearing_units As String, _
   ByVal line_type As String _
)
Visual Basic (Usage)Copy Code
Dim in_table As Object
Dim out_featureclass As Object
Dim x_field As Object
Dim y_field As Object
Dim distance_field As Object
Dim distance_units As String
Dim bearing_field As Object
Dim bearing_units As String
Dim line_type As String
 
Dim instance As BearingDistanceToLine(in_table, out_featureclass, x_field, y_field, distance_field, distance_units, bearing_field, bearing_units, line_type)
C# 
public BearingDistanceToLine( 
   object in_table,
   object out_featureclass,
   object x_field,
   object y_field,
   object distance_field,
   string distance_units,
   object bearing_field,
   string bearing_units,
   string line_type
)

Parameters

in_table
Table containing input parameters to create two-point lines based on a bearing and distance. Each row creates one line feature. (In, Required)
out_featureclass
Output line feature class. (Out, Required)
x_field
Input table field containing the x-values (longitude) of the starting point. (In, Required)
y_field
Input table field containing the y-values (latitude) of the starting point. (In, Required)
distance_field
Field in the input table containing values of the length of the output line. (In, Required)
distance_units
Units of measurement of the Distance field. The default is METERS. (In, Required)
bearing_field
Field in the input table containing direction values of the output line. (In, Required)
bearing_units
Units of measurement of the Bearing field. The default is DEGREES. (In, Required)
line_type
Type of two-point lines to construct. The default line type is GEODESIC. (In, Required)

See Also

© 2010 All Rights Reserved.