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.This tool has been deprecated. For more information, see An overview of the Samples toolbox. The CAD Lines to Polygon Features tool is contained in the Samples tool box.

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 - the bounding line feature class that will be used to create polygons.
inputLabelPoints - specifies the feature class containing the label points that will be applied to the output polygons.
outputPolygonFeatureClass - 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 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 the bounding line feature class that will be used to create polygons. This is a required parameter.

Parameters:
inputBoundaryLines - 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 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 specifies the feature class containing the label points that will be applied to the output polygons. This is a required parameter.

Parameters:
inputLabelPoints - 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 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 the output feature class that will contain the newly formed polygon features. This is a required parameter.

Parameters:
outputPolygonFeatureClass - 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 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 the parameter to build a query to select line feature classes to create polygons. This is an optional parameter.

Parameters:
boundaryLineFilterExpression - 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 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 the parameter to build a query to only use select point feature classes to create polygons. This is an optional parameter.

Parameters:
pointFilterExpression - 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