|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.analyst3dtools.SurfaceLength
public class SurfaceLength
This tool calculates the surface length for each polyline or polygon in a feature class based on a raster, triangulated irregular network (TIN), or terrain dataset surface. The Surface Length tool is contained in the 3D Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
SurfaceLength()
Creates the Surface Length tool with defaults. |
|
SurfaceLength(Object inSurface,
Object inFeatureClass)
Creates the Surface Length tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInFeatureClass()
Returns the Input Feature Class parameter of this tool . |
Object |
getInSurface()
Returns the Input Surface parameter of this tool . |
String |
getMethod()
Returns the Method parameter of this tool . |
String |
getOutLengthField()
Returns the Surface Length Field parameter of this tool . |
Object |
getOutputFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). |
double |
getPyramidLevelResolution()
Returns the Pyramid Level Resolution parameter of this tool . |
double |
getSampleDistance()
Returns the Sampling Distance 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 |
setInFeatureClass(Object inFeatureClass)
Sets the Input Feature Class parameter of this tool . |
void |
setInSurface(Object inSurface)
Sets the Input Surface parameter of this tool . |
void |
setMethod(String method)
Sets the Method parameter of this tool . |
void |
setOutLengthField(String outLengthField)
Sets the Surface Length Field parameter of this tool . |
void |
setPyramidLevelResolution(double pyramidLevelResolution)
Sets the Pyramid Level Resolution parameter of this tool . |
void |
setSampleDistance(double sampleDistance)
Sets the Sampling Distance 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 |
---|
public SurfaceLength()
Initializes the array of tool parameters with the default values specified when the tool was created.
public SurfaceLength(Object inSurface, Object inFeatureClass)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inSurface
- the input raster, TIN, or terrain dataset whose values will be used for interpolation.inFeatureClass
- the input polygon or polyline feature class.Method Detail |
---|
public Object getInSurface()
public void setInSurface(Object inSurface)
inSurface
- the input raster, TIN, or terrain dataset whose values will be used for interpolation.public Object getInFeatureClass()
public void setInFeatureClass(Object inFeatureClass)
inFeatureClass
- the input polygon or polyline feature class.public String getOutLengthField()
public void setOutLengthField(String outLengthField)
outLengthField
- the name of the attribute field to contain the surface length.public double getSampleDistance()
public void setSampleDistance(double sampleDistance)
sampleDistance
- the surface spacing at which the length is calculated. By default, the sampling distance is the natural densification of a TIN or the cell size of a raster.public double getZFactor()
public void setZFactor(double zFactor)
zFactor
- the factor multiplied by input surface values to store new values in the length field. The Z factor is used to convert z-units to match x,y units.public String getMethod()
public void setMethod(String method)
method
- the interpolation method. For raster surfaces, the only option is BILINEAR. Select LINEAR or NATURAL_NEIGHBORS.public double getPyramidLevelResolution()
public void setPyramidLevelResolution(double pyramidLevelResolution)
pyramidLevelResolution
- the resolution of the terrain dataset pyramid level to use for geoprocessing. The default is 0, full resolution.public Object getOutputFeatureClass()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |