|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.analyst3dtools.SurfaceLength
public class SurfaceLength
Calculates the surface length of each line in a feature class based on a raster or TIN surface.
The surface length information is stored as an attribute of the input feature class.
The Surface Length tool is contained in the 3D Analyst Tools tool box.
Learn more about how Surface Length (3D Analyst) works
Software restrictions: none

| 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 |
getOutLengthField()
Returns the Surface Length Field parameter of this tool . |
Object |
getOutputFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). |
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 |
setOutLengthField(String outLengthField)
Sets the Surface Length Field 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 - Tin Layer | Raster Layer, the input raster or TIN surface whose values will be used for interpolation.inFeatureClass - Feature Layer, the input feature class.| Method Detail |
|---|
public Object getInSurface()
public void setInSurface(Object inSurface)
inSurface - Tin Layer | Raster Layer, the input raster or TIN surface whose values will be used for interpolation.public Object getInFeatureClass()
public void setInFeatureClass(Object inFeatureClass)
inFeatureClass - Feature Layer, the input feature class.public String getOutLengthField()
public void setOutLengthField(String outLengthField)
outLengthField - String, the name of the attribute field to contain the surface length of the feature.public double getSampleDistance()
public void setSampleDistance(double sampleDistance)
sampleDistance - Double, 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 - Double, 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 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 | ||||||||