|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.BearingDistanceToLine
public class BearingDistanceToLine
This tool converts a table to two-point lines based on an x-coordinate field, y-coordinate field, bearing field, and distance field. The Bearing Distance To Line tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
BearingDistanceToLine()
Creates the Bearing Distance To Line tool with defaults. |
|
BearingDistanceToLine(Object inTable,
Object outFeatureclass,
Object xField,
Object yField,
Object distanceField,
String distanceUnits,
Object bearingField,
String bearingUnits,
String lineType)
Creates the Bearing Distance To Line tool with the required parameters. |
Method Summary | |
---|---|
Object |
getBearingField()
Returns the Bearing Field parameter of this tool . |
String |
getBearingUnits()
Returns the Bearing Units parameter of this tool . |
Object |
getDistanceField()
Returns the Distance Field parameter of this tool . |
String |
getDistanceUnits()
Returns the Distance Units parameter of this tool . |
Object |
getIdField()
Returns the ID parameter of this tool . |
Object |
getInTable()
Returns the Input Table parameter of this tool . |
String |
getLineType()
Returns the Line Type parameter of this tool . |
Object |
getOutFeatureclass()
Returns the Output Feature Class parameter of this tool . |
Object |
getSpatialReference()
Returns the Spatial Reference parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
Object |
getXField()
Returns the X Field parameter of this tool . |
Object |
getYField()
Returns the Y Field parameter of this tool . |
void |
setBearingField(Object bearingField)
Sets the Bearing Field parameter of this tool . |
void |
setBearingUnits(String bearingUnits)
Sets the Bearing Units parameter of this tool . |
void |
setDistanceField(Object distanceField)
Sets the Distance Field parameter of this tool . |
void |
setDistanceUnits(String distanceUnits)
Sets the Distance Units parameter of this tool . |
void |
setIdField(Object idField)
Sets the ID parameter of this tool . |
void |
setInTable(Object inTable)
Sets the Input Table parameter of this tool . |
void |
setLineType(String lineType)
Sets the Line Type parameter of this tool . |
void |
setOutFeatureclass(Object outFeatureclass)
Sets the Output Feature Class parameter of this tool . |
void |
setSpatialReference(Object spatialReference)
Sets the Spatial Reference parameter of this tool . |
void |
setXField(Object xField)
Sets the X Field parameter of this tool . |
void |
setYField(Object yField)
Sets the Y Field parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BearingDistanceToLine()
Initializes the array of tool parameters with the default values specified when the tool was created.
public BearingDistanceToLine(Object inTable, Object outFeatureclass, Object xField, Object yField, Object distanceField, String distanceUnits, Object bearingField, String bearingUnits, String lineType)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inTable
- table containing input parameters to create two-point lines based on a bearing and distance. Each row creates one line feature.outFeatureclass
- output line feature class.xField
- input table field containing the x-values (longitude) of the starting point.yField
- input table field containing the y-values (latitude) of the starting point.distanceField
- field in the input table containing values of the length of the output line.distanceUnits
- units of measurement of the Distance field. The default is METERS.bearingField
- field in the input table containing direction values of the output line.bearingUnits
- units of measurement of the Bearing field. The default is DEGREES.lineType
- type of two-point lines to construct. The default line type is GEODESIC.Method Detail |
---|
public Object getInTable()
public void setInTable(Object inTable)
inTable
- table containing input parameters to create two-point lines based on a bearing and distance. Each row creates one line feature.public Object getOutFeatureclass()
public void setOutFeatureclass(Object outFeatureclass)
outFeatureclass
- output line feature class.public Object getXField()
public void setXField(Object xField)
xField
- input table field containing the x-values (longitude) of the starting point.public Object getYField()
public void setYField(Object yField)
yField
- input table field containing the y-values (latitude) of the starting point.public Object getDistanceField()
public void setDistanceField(Object distanceField)
distanceField
- field in the input table containing values of the length of the output line.public String getDistanceUnits()
public void setDistanceUnits(String distanceUnits)
distanceUnits
- units of measurement of the Distance field. The default is METERS.public Object getBearingField()
public void setBearingField(Object bearingField)
bearingField
- field in the input table containing direction values of the output line.public String getBearingUnits()
public void setBearingUnits(String bearingUnits)
bearingUnits
- units of measurement of the Bearing field. The default is DEGREES.public String getLineType()
public void setLineType(String lineType)
lineType
- type of two-point lines to construct. The default line type is GEODESIC.public Object getIdField()
public void setIdField(Object idField)
idField
- iD field from the input table. This can be used to join the output features to the input table.public Object getSpatialReference()
public void setSpatialReference(Object spatialReference)
spatialReference
- spatial reference of the starting point coordinates.
The default is GCS_WGS_1984.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |