|
|||||||||
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.Slope
public class Slope
Identifies the slope (gradient, or rate of maximum change in z-value) from each cell of a raster surface. The Slope tool is contained in the 3D Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Slope()
Creates the Slope tool with defaults. |
|
Slope(Object inRaster,
Object outRaster)
Creates the Slope tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
String |
getOutputMeasurement()
Returns the Output measurement parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster 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 |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setOutputMeasurement(String outputMeasurement)
Sets the Output measurement parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster 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 Slope()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Slope(Object inRaster, Object outRaster)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inRaster
- the input surface raster.outRaster
- the output slope raster.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input surface raster.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output slope raster.public String getOutputMeasurement()
public void setOutputMeasurement(String outputMeasurement)
outputMeasurement
- determines the measurement units (degrees or percentages) of the output slope data.public double getZFactor()
public void setZFactor(double zFactor)
zFactor
- number of ground x,y units in one surface z unit. the z-factor adjusts the units of measure for the z units when they are different from the x,y units of the input surface. The z-values of the input surface are multiplied by the z-factor when calculating the final output surface. if the x,y units and z units are in the same units of measure, the z-factor is 1. This is the default. if the x,y units and z units are in different units of measure, the z-factor must be set to the appropriate factor, or the results will be incorrect. For example, if your z units are feet and your x,y units are meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter).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 |