com.esri.arcgis.geoprocessing.tools.samples
Class CADLinestoPolygonFeatures

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.samples.CADLinestoPolygonFeatures
All Implemented Interfaces:
GPTool

public class CADLinestoPolygonFeatures
extends AbstractGPTool

Converts CAD lines and points to polygon feature classes. This work flow is a starting point to turn CAD lines into ArcGIS polygons. The CAD Lines to Polygon Features tool is contained in the Samples tool box.

Software restrictions: ArcInfo only

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
CADLinestoPolygonFeatures()
          Creates the CAD Lines to Polygon Features tool with defaults.
CADLinestoPolygonFeatures(Object inputBoundaryLines, Object inputLabelPoints, Object outputPolygonFeatureClass)
          Creates the CAD Lines to Polygon Features tool with the required parameters.
 
Method Summary
 Object getBoundaryLineFilterExpression()
          Returns the boundary line filter expression parameter of this tool .
 Object getInputBoundaryLines()
          Returns the input boundary lines parameter of this tool .
 Object getInputLabelPoints()
          Returns the input label points parameter of this tool .
 Object getOutputPolygonFeatureClass()
          Returns the output polygon feature class parameter of this tool .
 Object getPointFilterExpression()
          Returns the point filter expression 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.
 void setBoundaryLineFilterExpression(Object boundaryLineFilterExpression)
          Sets the boundary line filter expression parameter of this tool .
 void setInputBoundaryLines(Object inputBoundaryLines)
          Sets the input boundary lines parameter of this tool .
 void setInputLabelPoints(Object inputLabelPoints)
          Sets the input label points parameter of this tool .
 void setOutputPolygonFeatureClass(Object outputPolygonFeatureClass)
          Sets the output polygon feature class parameter of this tool .
 void setPointFilterExpression(Object pointFilterExpression)
          Sets the point filter expression 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

CADLinestoPolygonFeatures

public CADLinestoPolygonFeatures()
Creates the CAD Lines to Polygon Features tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


CADLinestoPolygonFeatures

public CADLinestoPolygonFeatures(Object inputBoundaryLines,
                                 Object inputLabelPoints,
                                 Object outputPolygonFeatureClass)
Creates the CAD Lines to Polygon Features tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inputBoundaryLines - Feature Layer, the bounding line feature class that will be used to create polygons.
inputLabelPoints - Feature Layer, specifies the feature class containing the label points that will be applied to the output polygons.
outputPolygonFeatureClass - Feature Class, the output feature class that will contain the newly formed polygon features.
Method Detail

getInputBoundaryLines

public Object getInputBoundaryLines()
Returns the input boundary lines parameter of this tool . This parameter is Feature Layer, the bounding line feature class that will be used to create polygons. This is a required parameter.

Returns:
the input boundary lines

setInputBoundaryLines

public void setInputBoundaryLines(Object inputBoundaryLines)
Sets the input boundary lines parameter of this tool . This parameter is Feature Layer, the bounding line feature class that will be used to create polygons. This is a required parameter.

Parameters:
inputBoundaryLines - Feature Layer, the bounding line feature class that will be used to create polygons.

getInputLabelPoints

public Object getInputLabelPoints()
Returns the input label points parameter of this tool . This parameter is Feature Layer, specifies the feature class containing the label points that will be applied to the output polygons. This is a required parameter.

Returns:
the input label points

setInputLabelPoints

public void setInputLabelPoints(Object inputLabelPoints)
Sets the input label points parameter of this tool . This parameter is Feature Layer, specifies the feature class containing the label points that will be applied to the output polygons. This is a required parameter.

Parameters:
inputLabelPoints - Feature Layer, specifies the feature class containing the label points that will be applied to the output polygons.

getOutputPolygonFeatureClass

public Object getOutputPolygonFeatureClass()
Returns the output polygon feature class parameter of this tool . This parameter is Feature Class, the output feature class that will contain the newly formed polygon features. This is a required parameter.

Returns:
the output polygon feature class

setOutputPolygonFeatureClass

public void setOutputPolygonFeatureClass(Object outputPolygonFeatureClass)
Sets the output polygon feature class parameter of this tool . This parameter is Feature Class, the output feature class that will contain the newly formed polygon features. This is a required parameter.

Parameters:
outputPolygonFeatureClass - Feature Class, the output feature class that will contain the newly formed polygon features.

getBoundaryLineFilterExpression

public Object getBoundaryLineFilterExpression()
Returns the boundary line filter expression parameter of this tool . This parameter is SQL Expression, the parameter to build a query to select line feature classes to create polygons. This is an optional parameter.

Returns:
the boundary line filter expression

setBoundaryLineFilterExpression

public void setBoundaryLineFilterExpression(Object boundaryLineFilterExpression)
Sets the boundary line filter expression parameter of this tool . This parameter is SQL Expression, the parameter to build a query to select line feature classes to create polygons. This is an optional parameter.

Parameters:
boundaryLineFilterExpression - SQL Expression, the parameter to build a query to select line feature classes to create polygons.

getPointFilterExpression

public Object getPointFilterExpression()
Returns the point filter expression parameter of this tool . This parameter is SQL Expression, the parameter to build a query to only use select point feature classes to create polygons. This is an optional parameter.

Returns:
the point filter expression

setPointFilterExpression

public void setPointFilterExpression(Object pointFilterExpression)
Sets the point filter expression parameter of this tool . This parameter is SQL Expression, the parameter to build a query to only use select point feature classes to create polygons. This is an optional parameter.

Parameters:
pointFilterExpression - SQL Expression, the parameter to build a query to only use select point feature classes to create polygons.

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias