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

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

public class PolygonVolume
extends AbstractGPTool

Calculates the volumetric and surface area between polygons of an input feature class and a terrain dataset or TIN surface. The Polygon Volume 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
PolygonVolume()
          Creates the Polygon Volume tool with defaults.
PolygonVolume(java.lang.Object inSurface, java.lang.Object inFeatureClass, java.lang.String inHeightField)
          Creates the Polygon Volume tool with the required parameters.
 
Method Summary
 java.lang.Object getInFeatureClass()
          Returns the Input Feature Class parameter of this tool .
 java.lang.String getInHeightField()
          Returns the Height Field parameter of this tool .
 java.lang.Object getInSurface()
          Returns the Input Surface parameter of this tool .
 java.lang.Object getOutputFeatureClass()
          Returns the Output Feature Class parameter of this tool (Read only).
 java.lang.String getOutVolumeField()
          Returns the Volume Field parameter of this tool .
 double getPyramidLevelResolution()
          Returns the Pyramid Level Resolution parameter of this tool .
 java.lang.String getReferencePlane()
          Returns the Reference Plane parameter of this tool .
 java.lang.String getSurfaceAreaField()
          Returns the Surface Area Field 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 setInFeatureClass(java.lang.Object inFeatureClass)
          Sets the Input Feature Class parameter of this tool .
 void setInHeightField(java.lang.String inHeightField)
          Sets the Height Field parameter of this tool .
 void setInSurface(java.lang.Object inSurface)
          Sets the Input Surface parameter of this tool .
 void setOutVolumeField(java.lang.String outVolumeField)
          Sets the Volume Field parameter of this tool .
 void setPyramidLevelResolution(double pyramidLevelResolution)
          Sets the Pyramid Level Resolution parameter of this tool .
 void setReferencePlane(java.lang.String referencePlane)
          Sets the Reference Plane parameter of this tool .
 void setSurfaceAreaField(java.lang.String surfaceAreaField)
          Sets the Surface Area 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

PolygonVolume

public PolygonVolume()
Creates the Polygon Volume tool with defaults.

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


PolygonVolume

public PolygonVolume(java.lang.Object inSurface,
                     java.lang.Object inFeatureClass,
                     java.lang.String inHeightField)
Creates the Polygon Volume 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:
inSurface - the input Terrain dataset or TIN surface.
inFeatureClass - the input polygon feature class.
inHeightField - the name of the field containing polygon reference plane heights.
Method Detail

getInSurface

public java.lang.Object getInSurface()
Returns the Input Surface parameter of this tool . This parameter is the input Terrain dataset or TIN surface. This is a required parameter.

Returns:
the Input Surface

setInSurface

public void setInSurface(java.lang.Object inSurface)
Sets the Input Surface parameter of this tool . This parameter is the input Terrain dataset or TIN surface. This is a required parameter.

Parameters:
inSurface - the input Terrain dataset or TIN surface.

getInFeatureClass

public java.lang.Object getInFeatureClass()
Returns the Input Feature Class parameter of this tool . This parameter is the input polygon feature class. This is a required parameter.

Returns:
the Input Feature Class

setInFeatureClass

public void setInFeatureClass(java.lang.Object inFeatureClass)
Sets the Input Feature Class parameter of this tool . This parameter is the input polygon feature class. This is a required parameter.

Parameters:
inFeatureClass - the input polygon feature class.

getInHeightField

public java.lang.String getInHeightField()
Returns the Height Field parameter of this tool . This parameter is the name of the field containing polygon reference plane heights. This is a required parameter.

Returns:
the Height Field

setInHeightField

public void setInHeightField(java.lang.String inHeightField)
Sets the Height Field parameter of this tool . This parameter is the name of the field containing polygon reference plane heights. This is a required parameter.

Parameters:
inHeightField - the name of the field containing polygon reference plane heights.

getReferencePlane

public java.lang.String getReferencePlane()
Returns the Reference Plane parameter of this tool . This parameter is the keyword used to indicate whether volume and surface area are calculated ABOVE the reference plane height of the polygons, or BELOW. The default is BELOW. This is an optional parameter.

Returns:
the Reference Plane

setReferencePlane

public void setReferencePlane(java.lang.String referencePlane)
Sets the Reference Plane parameter of this tool . This parameter is the keyword used to indicate whether volume and surface area are calculated ABOVE the reference plane height of the polygons, or BELOW. The default is BELOW. This is an optional parameter.

Parameters:
referencePlane - the keyword used to indicate whether volume and surface area are calculated ABOVE the reference plane height of the polygons, or BELOW. The default is BELOW.

getOutVolumeField

public java.lang.String getOutVolumeField()
Returns the Volume Field parameter of this tool . This parameter is the name of the output field used to store the volume result. The default is Volume. This is an optional parameter.

Returns:
the Volume Field

setOutVolumeField

public void setOutVolumeField(java.lang.String outVolumeField)
Sets the Volume Field parameter of this tool . This parameter is the name of the output field used to store the volume result. The default is Volume. This is an optional parameter.

Parameters:
outVolumeField - the name of the output field used to store the volume result. The default is Volume.

getSurfaceAreaField

public java.lang.String getSurfaceAreaField()
Returns the Surface Area Field parameter of this tool . This parameter is the name of the output field used to store the surface area result. The default is SArea. This is an optional parameter.

Returns:
the Surface Area Field

setSurfaceAreaField

public void setSurfaceAreaField(java.lang.String surfaceAreaField)
Sets the Surface Area Field parameter of this tool . This parameter is the name of the output field used to store the surface area result. The default is SArea. This is an optional parameter.

Parameters:
surfaceAreaField - the name of the output field used to store the surface area result. The default is SArea.

getPyramidLevelResolution

public double getPyramidLevelResolution()
Returns the Pyramid Level Resolution parameter of this tool . This parameter is the pyramid level resolution of the terrain dataset to use for interpolation. The default is 0, full resolution. This is an optional parameter.

Returns:
the Pyramid Level Resolution

setPyramidLevelResolution

public void setPyramidLevelResolution(double pyramidLevelResolution)
Sets the Pyramid Level Resolution parameter of this tool . This parameter is the pyramid level resolution of the terrain dataset to use for interpolation. The default is 0, full resolution. This is an optional parameter.

Parameters:
pyramidLevelResolution - the pyramid level resolution of the terrain dataset to use for interpolation. The default is 0, full resolution.

getOutputFeatureClass

public java.lang.Object getOutputFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Feature Class

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