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

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

public class TinContour
extends AbstractGPTool

Creates a feature class containing a set of contours generated from a functional surface. The TIN Contour 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
TinContour()
          Creates the TIN Contour tool with defaults.
TinContour(Object inTin, Object outFeatureClass, double interval)
          Creates the TIN Contour tool with the required parameters.
 
Method Summary
 double getBaseContour()
          Returns the Base Contour parameter of this tool .
 String getContourField()
          Returns the Contour Field parameter of this tool .
 int getContourFieldPrecision()
          Returns the Contour Field Precision parameter of this tool .
 double getIndexInterval()
          Returns the Index Interval parameter of this tool .
 String getIndexIntervalField()
          Returns the Index Interval Field parameter of this tool .
 double getInterval()
          Returns the Contour Interval parameter of this tool .
 Object getInTin()
          Returns the Input TIN parameter of this tool .
 Object getOutFeatureClass()
          Returns the Output Feature Class 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.
 double getZFactor()
          Returns the Z Factor parameter of this tool .
 void setBaseContour(double baseContour)
          Sets the Base Contour parameter of this tool .
 void setContourField(String contourField)
          Sets the Contour Field parameter of this tool .
 void setContourFieldPrecision(int contourFieldPrecision)
          Sets the Contour Field Precision parameter of this tool .
 void setIndexInterval(double indexInterval)
          Sets the Index Interval parameter of this tool .
 void setIndexIntervalField(String indexIntervalField)
          Sets the Index Interval Field parameter of this tool .
 void setInterval(double interval)
          Sets the Contour Interval parameter of this tool .
 void setInTin(Object inTin)
          Sets the Input TIN parameter of this tool .
 void setOutFeatureClass(Object outFeatureClass)
          Sets the Output Feature Class parameter of this tool .
 void setZFactor(double zFactor)
          Sets the Z Factor 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

TinContour

public TinContour()
Creates the TIN Contour tool with defaults.

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


TinContour

public TinContour(Object inTin,
                  Object outFeatureClass,
                  double interval)
Creates the TIN Contour 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:
inTin - the surface from which the contours will be interpolated.
outFeatureClass - the output feature class.
interval - the interval between the contours.
Method Detail

getInTin

public Object getInTin()
Returns the Input TIN parameter of this tool . This parameter is the surface from which the contours will be interpolated. This is a required parameter.

Returns:
the Input TIN

setInTin

public void setInTin(Object inTin)
Sets the Input TIN parameter of this tool . This parameter is the surface from which the contours will be interpolated. This is a required parameter.

Parameters:
inTin - the surface from which the contours will be interpolated.

getOutFeatureClass

public Object getOutFeatureClass()
Returns the Output Feature Class parameter of this tool . This parameter is the output feature class. This is a required parameter.

Returns:
the Output Feature Class

setOutFeatureClass

public void setOutFeatureClass(Object outFeatureClass)
Sets the Output Feature Class parameter of this tool . This parameter is the output feature class. This is a required parameter.

Parameters:
outFeatureClass - the output feature class.

getInterval

public double getInterval()
Returns the Contour Interval parameter of this tool . This parameter is the interval between the contours. This is a required parameter.

Returns:
the Contour Interval

setInterval

public void setInterval(double interval)
Sets the Contour Interval parameter of this tool . This parameter is the interval between the contours. This is a required parameter.

Parameters:
interval - the interval between the contours.

getBaseContour

public double getBaseContour()
Returns the Base Contour parameter of this tool . This parameter is along with the index interval, the base height is used to determine what contours are produced. The base height is a starting point from which the index interval is either added or subtracted. By default, the base contour is 0.0. This is an optional parameter.

Returns:
the Base Contour

setBaseContour

public void setBaseContour(double baseContour)
Sets the Base Contour parameter of this tool . This parameter is along with the index interval, the base height is used to determine what contours are produced. The base height is a starting point from which the index interval is either added or subtracted. By default, the base contour is 0.0. This is an optional parameter.

Parameters:
baseContour - along with the index interval, the base height is used to determine what contours are produced. The base height is a starting point from which the index interval is either added or subtracted. By default, the base contour is 0.0.

getContourField

public String getContourField()
Returns the Contour Field parameter of this tool . This parameter is the field containing contour values. This is an optional parameter.

Returns:
the Contour Field

setContourField

public void setContourField(String contourField)
Sets the Contour Field parameter of this tool . This parameter is the field containing contour values. This is an optional parameter.

Parameters:
contourField - the field containing contour values.

getContourFieldPrecision

public int getContourFieldPrecision()
Returns the Contour Field Precision parameter of this tool . This parameter is the precision of the contour field. Zero specifies an integer, and the numbers 1–9 indicate how many decimal places the field will contain. By default, the field will be an integer (0). This is an optional parameter.

Returns:
the Contour Field Precision

setContourFieldPrecision

public void setContourFieldPrecision(int contourFieldPrecision)
Sets the Contour Field Precision parameter of this tool . This parameter is the precision of the contour field. Zero specifies an integer, and the numbers 1–9 indicate how many decimal places the field will contain. By default, the field will be an integer (0). This is an optional parameter.

Parameters:
contourFieldPrecision - the precision of the contour field. Zero specifies an integer, and the numbers 1–9 indicate how many decimal places the field will contain. By default, the field will be an integer (0).

getIndexInterval

public double getIndexInterval()
Returns the Index Interval parameter of this tool . This parameter is the difference, in Z units, between index contours. The value specified should be evenly divisible by the contour interval. Typically, it’s five times greater. Use of this parameter adds an attribute field to the output feature class that’s used to differentiate index contours from regular contours. This is an optional parameter.

Returns:
the Index Interval

setIndexInterval

public void setIndexInterval(double indexInterval)
Sets the Index Interval parameter of this tool . This parameter is the difference, in Z units, between index contours. The value specified should be evenly divisible by the contour interval. Typically, it’s five times greater. Use of this parameter adds an attribute field to the output feature class that’s used to differentiate index contours from regular contours. This is an optional parameter.

Parameters:
indexInterval - the difference, in Z units, between index contours. The value specified should be evenly divisible by the contour interval. Typically, it’s five times greater. Use of this parameter adds an attribute field to the output feature class that’s used to differentiate index contours from regular contours.

getIndexIntervalField

public String getIndexIntervalField()
Returns the Index Interval Field parameter of this tool . This parameter is the name of the field used to record whether a contour is a regular or an index contour. By default, the value is ‘Index’. This is an optional parameter.

Returns:
the Index Interval Field

setIndexIntervalField

public void setIndexIntervalField(String indexIntervalField)
Sets the Index Interval Field parameter of this tool . This parameter is the name of the field used to record whether a contour is a regular or an index contour. By default, the value is ‘Index’. This is an optional parameter.

Parameters:
indexIntervalField - the name of the field used to record whether a contour is a regular or an index contour. By default, the value is ‘Index’.

getZFactor

public double getZFactor()
Returns the Z Factor parameter of this tool . This parameter is specifies a factor by which to multiply the surface heights. Used to convert z units to x and y units. This is an optional parameter.

Returns:
the Z Factor

setZFactor

public void setZFactor(double zFactor)
Sets the Z Factor parameter of this tool . This parameter is specifies a factor by which to multiply the surface heights. Used to convert z units to x and y units. This is an optional parameter.

Parameters:
zFactor - specifies a factor by which to multiply the surface heights. Used to convert z units to x and y units.

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