com.esri.arcgis.geoprocessing.tools.analyst3dtools
Class ContourWithBarriers

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

public class ContourWithBarriers
extends AbstractGPTool

Creates contours from a raster surface. The inclusion of barrier features will allow one to independently generate contours on either side of a barrier. The Contour with Barriers tool is contained in the 3D Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ContourWithBarriers()
          Creates the Contour with Barriers tool with defaults.
ContourWithBarriers(java.lang.Object inRaster, java.lang.Object outContourFeatureClass)
          Creates the Contour with Barriers tool with the required parameters.
 
Method Summary
 java.lang.String getExplicitOnly()
          Returns the Enter Explicit Contour Values Only parameter of this tool .
 java.lang.Object getInBarrierFeatures()
          Returns the Input Barrier Features parameter of this tool .
 double getInBaseContour()
          Returns the Base Contour parameter of this tool .
 double getInContourInterval()
          Returns the Contour Interval parameter of this tool .
 java.lang.Object getInContourList()
          Returns the Explicit Contour Values parameter of this tool .
 java.lang.String getInContourType()
          Returns the Type of Contours parameter of this tool .
 java.lang.Object getInContourValuesFile()
          Returns the File Containing Contour Value Specifications parameter of this tool .
 double getInIndexedContourInterval()
          Returns the Indexed Contour Interval parameter of this tool .
 java.lang.Object getInRaster()
          Returns the Input Raster parameter of this tool .
 double getInZFactor()
          Returns the Factor Applied to Raster Z-values parameter of this tool .
 java.lang.Object getOutContourFeatureClass()
          Returns the Output Contour Features parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setExplicitOnly(java.lang.String explicitOnly)
          Sets the Enter Explicit Contour Values Only parameter of this tool .
 void setInBarrierFeatures(java.lang.Object inBarrierFeatures)
          Sets the Input Barrier Features parameter of this tool .
 void setInBaseContour(double inBaseContour)
          Sets the Base Contour parameter of this tool .
 void setInContourInterval(double inContourInterval)
          Sets the Contour Interval parameter of this tool .
 void setInContourList(java.lang.Object inContourList)
          Sets the Explicit Contour Values parameter of this tool .
 void setInContourType(java.lang.String inContourType)
          Sets the Type of Contours parameter of this tool .
 void setInContourValuesFile(java.lang.Object inContourValuesFile)
          Sets the File Containing Contour Value Specifications parameter of this tool .
 void setInIndexedContourInterval(double inIndexedContourInterval)
          Sets the Indexed Contour Interval parameter of this tool .
 void setInRaster(java.lang.Object inRaster)
          Sets the Input Raster parameter of this tool .
 void setInZFactor(double inZFactor)
          Sets the Factor Applied to Raster Z-values parameter of this tool .
 void setOutContourFeatureClass(java.lang.Object outContourFeatureClass)
          Sets the Output Contour Features 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

ContourWithBarriers

public ContourWithBarriers()
Creates the Contour with Barriers tool with defaults.

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


ContourWithBarriers

public ContourWithBarriers(java.lang.Object inRaster,
                           java.lang.Object outContourFeatureClass)
Creates the Contour with Barriers 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:
inRaster - the input surface raster.
outContourFeatureClass - output contour features.
Method Detail

getInRaster

public java.lang.Object getInRaster()
Returns the Input Raster parameter of this tool . This parameter is the input surface raster. This is a required parameter.

Returns:
the Input Raster

setInRaster

public void setInRaster(java.lang.Object inRaster)
Sets the Input Raster parameter of this tool . This parameter is the input surface raster. This is a required parameter.

Parameters:
inRaster - the input surface raster.

getOutContourFeatureClass

public java.lang.Object getOutContourFeatureClass()
Returns the Output Contour Features parameter of this tool . This parameter is output contour features. This is a required parameter.

Returns:
the Output Contour Features

setOutContourFeatureClass

public void setOutContourFeatureClass(java.lang.Object outContourFeatureClass)
Sets the Output Contour Features parameter of this tool . This parameter is output contour features. This is a required parameter.

Parameters:
outContourFeatureClass - output contour features.

getInBarrierFeatures

public java.lang.Object getInBarrierFeatures()
Returns the Input Barrier Features parameter of this tool . This parameter is input barrier features. This is an optional parameter.

Returns:
the Input Barrier Features

setInBarrierFeatures

public void setInBarrierFeatures(java.lang.Object inBarrierFeatures)
Sets the Input Barrier Features parameter of this tool . This parameter is input barrier features. This is an optional parameter.

Parameters:
inBarrierFeatures - input barrier features.

getInContourType

public java.lang.String getInContourType()
Returns the Type of Contours parameter of this tool . This parameter is the type of contour to create. the current version of Contour with Barriers only supports polyline output. If the polygon output option is used it will be ignored and polyline output will be created. This is an optional parameter.

Returns:
the Type of Contours

setInContourType

public void setInContourType(java.lang.String inContourType)
Sets the Type of Contours parameter of this tool . This parameter is the type of contour to create. the current version of Contour with Barriers only supports polyline output. If the polygon output option is used it will be ignored and polyline output will be created. This is an optional parameter.

Parameters:
inContourType - the type of contour to create. the current version of Contour with Barriers only supports polyline output. If the polygon output option is used it will be ignored and polyline output will be created.

getInContourValuesFile

public java.lang.Object getInContourValuesFile()
Returns the File Containing Contour Value Specifications parameter of this tool . This parameter is the base contour, contour interval, indexed contour interval, and explicit contour values can also be specified via a text file. This is an optional parameter.

Returns:
the File Containing Contour Value Specifications

setInContourValuesFile

public void setInContourValuesFile(java.lang.Object inContourValuesFile)
Sets the File Containing Contour Value Specifications parameter of this tool . This parameter is the base contour, contour interval, indexed contour interval, and explicit contour values can also be specified via a text file. This is an optional parameter.

Parameters:
inContourValuesFile - the base contour, contour interval, indexed contour interval, and explicit contour values can also be specified via a text file.

getExplicitOnly

public java.lang.String getExplicitOnly()
Returns the Enter Explicit Contour Values Only parameter of this tool . This parameter is only explicit contour values are used. Base contour, contour interval, and indexed contour intervals are not specified. This is an optional parameter.

Returns:
the Enter Explicit Contour Values Only

setExplicitOnly

public void setExplicitOnly(java.lang.String explicitOnly)
Sets the Enter Explicit Contour Values Only parameter of this tool . This parameter is only explicit contour values are used. Base contour, contour interval, and indexed contour intervals are not specified. This is an optional parameter.

Parameters:
explicitOnly - only explicit contour values are used. Base contour, contour interval, and indexed contour intervals are not specified.

getInBaseContour

public double getInBaseContour()
Returns the Base Contour parameter of this tool . This parameter is base contour value. contours are generated above and below this value as needed to cover the entire value range of the input raster. The default is zero. This is an optional parameter.

Returns:
the Base Contour

setInBaseContour

public void setInBaseContour(double inBaseContour)
Sets the Base Contour parameter of this tool . This parameter is base contour value. contours are generated above and below this value as needed to cover the entire value range of the input raster. The default is zero. This is an optional parameter.

Parameters:
inBaseContour - base contour value. contours are generated above and below this value as needed to cover the entire value range of the input raster. The default is zero.

getInContourInterval

public double getInContourInterval()
Returns the Contour Interval parameter of this tool . This parameter is interval of contours. this can be any positive number. This is an optional parameter.

Returns:
the Contour Interval

setInContourInterval

public void setInContourInterval(double inContourInterval)
Sets the Contour Interval parameter of this tool . This parameter is interval of contours. this can be any positive number. This is an optional parameter.

Parameters:
inContourInterval - interval of contours. this can be any positive number.

getInIndexedContourInterval

public double getInIndexedContourInterval()
Returns the Indexed Contour Interval parameter of this tool . This parameter is contours will also be generated for this interval and will be flagged accordingly in the output feature class. This is an optional parameter.

Returns:
the Indexed Contour Interval

setInIndexedContourInterval

public void setInIndexedContourInterval(double inIndexedContourInterval)
Sets the Indexed Contour Interval parameter of this tool . This parameter is contours will also be generated for this interval and will be flagged accordingly in the output feature class. This is an optional parameter.

Parameters:
inIndexedContourInterval - contours will also be generated for this interval and will be flagged accordingly in the output feature class.

getInContourList

public java.lang.Object getInContourList()
Returns the Explicit Contour Values parameter of this tool . This parameter is explicit values at which to create contours. This is an optional parameter.

Returns:
the Explicit Contour Values

setInContourList

public void setInContourList(java.lang.Object inContourList)
Sets the Explicit Contour Values parameter of this tool . This parameter is explicit values at which to create contours. This is an optional parameter.

Parameters:
inContourList - explicit values at which to create contours.

getInZFactor

public double getInZFactor()
Returns the Factor Applied to Raster Z-values parameter of this tool . This parameter is multiplication factor. for example, if your z units are feet and your contours should be in meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter). This is an optional parameter.

Returns:
the Factor Applied to Raster Z-values

setInZFactor

public void setInZFactor(double inZFactor)
Sets the Factor Applied to Raster Z-values parameter of this tool . This parameter is multiplication factor. for example, if your z units are feet and your contours should be in meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter). This is an optional parameter.

Parameters:
inZFactor - multiplication factor. for example, if your z units are feet and your contours should be in meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter).

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias