|
|||||||||
| 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.spatialanalysttools.CreateConstantRaster
public class CreateConstantRaster
Creates a raster of a constant value within the Analysis window. The Create Constant Raster tool is contained in the Spatial Analyst Tools tool box.
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
CreateConstantRaster()
Creates the Create Constant Raster tool with defaults. |
|
CreateConstantRaster(Object outRaster,
double constantValue)
Creates the Create Constant Raster tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getCellSize()
Returns the Output cell size parameter of this tool . |
double |
getConstantValue()
Returns the Constant value parameter of this tool . |
String |
getDataType()
Returns the Output data type parameter of this tool . |
Object |
getExtent()
Returns the Output extent 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. |
void |
setCellSize(Object cellSize)
Sets the Output cell size parameter of this tool . |
void |
setConstantValue(double constantValue)
Sets the Constant value parameter of this tool . |
void |
setDataType(String dataType)
Sets the Output data type parameter of this tool . |
void |
setExtent(Object extent)
Sets the Output extent parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster 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 CreateConstantRaster()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateConstantRaster(Object outRaster,
double constantValue)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
outRaster - Raster Dataset, the raster to be created.constantValue - Double, constant value from which to create an output raster dataset.| Method Detail |
|---|
public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster - Raster Dataset, the raster to be created.public double getConstantValue()
public void setConstantValue(double constantValue)
constantValue - Double, constant value from which to create an output raster dataset.public String getDataType()
public void setDataType(String dataType)
dataType - String, data type of the output raster dataset.public Object getCellSize()
public void setCellSize(Object cellSize)
cellSize - Analysis cell size, this is the value in the environment if specifically set. If not specifically set, it is the shorter of the width or height of the environment extent in the output spatial reference, divided by 250.public Object getExtent()
public void setExtent(Object extent)
extent - Envelope, this is the value in the environment if specifically set. If not specifically set, it is 0, 0, 250, 250.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 | ||||||||