|
|||||||||
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.datamanagementtools.CreateFishnet
public class CreateFishnet
Creates a fishnet of rectangular cells which can be polyline or polygon features. The Create Fishnet tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateFishnet()
Creates the Create Fishnet tool with defaults. |
|
CreateFishnet(Object outFeatureClass,
Object originCoord,
Object yAxisCoord,
double cellWidth,
double cellHeight,
int numberRows,
int numberColumns)
Creates the Create Fishnet tool with the required parameters. |
Method Summary | |
---|---|
double |
getCellHeight()
Returns the Cell Size Height parameter of this tool . |
double |
getCellWidth()
Returns the Cell Size Width parameter of this tool . |
Object |
getCornerCoord()
Returns the Opposite corner of Fishnet parameter of this tool . |
String |
getGeometryType()
Returns the Geometry Type parameter of this tool . |
String |
getLabels()
Returns the Create Label Points parameter of this tool . |
int |
getNumberColumns()
Returns the Number of Columns parameter of this tool . |
int |
getNumberRows()
Returns the Number of Rows parameter of this tool . |
Object |
getOriginCoord()
Returns the Fishnet Origin Coordinate parameter of this tool . |
Object |
getOutFeatureClass()
Returns the Output Feature Class parameter of this tool . |
Object |
getOutLabel()
Returns the Output Labels parameter of this tool (Read only). |
Object |
getTemplate()
Returns the Template Extent 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. |
Object |
getYAxisCoord()
Returns the Y-Axis Coordinate parameter of this tool . |
void |
setCellHeight(double cellHeight)
Sets the Cell Size Height parameter of this tool . |
void |
setCellWidth(double cellWidth)
Sets the Cell Size Width parameter of this tool . |
void |
setCornerCoord(Object cornerCoord)
Sets the Opposite corner of Fishnet parameter of this tool . |
void |
setGeometryType(String geometryType)
Sets the Geometry Type parameter of this tool . |
void |
setLabels(String labels)
Sets the Create Label Points parameter of this tool . |
void |
setNumberColumns(int numberColumns)
Sets the Number of Columns parameter of this tool . |
void |
setNumberRows(int numberRows)
Sets the Number of Rows parameter of this tool . |
void |
setOriginCoord(Object originCoord)
Sets the Fishnet Origin Coordinate parameter of this tool . |
void |
setOutFeatureClass(Object outFeatureClass)
Sets the Output Feature Class parameter of this tool . |
void |
setTemplate(Object template)
Sets the Template Extent parameter of this tool . |
void |
setYAxisCoord(Object yAxisCoord)
Sets the Y-Axis Coordinate 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 CreateFishnet()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateFishnet(Object outFeatureClass, Object originCoord, Object yAxisCoord, double cellWidth, double cellHeight, int numberRows, int numberColumns)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
outFeatureClass
- the output feature class containing the fishnet of rectangular cells.originCoord
- the starting pivot point of the fishnet.yAxisCoord
- the Y-axis coordinate is used to orient the fishnet. The fishnet is rotated by the same angle as defined by the line connecting the origin and the y-axis coordiinate.cellWidth
- determines the width of each cell. If you want the width to be automatically calculated using the value in the Number of Rows parameter, set this value to zero葉he width will be calculated when the tool is run.cellHeight
- determines the height of each cell. If you want the height to be automatically calculated using the value in the Number of Columns parameter, set this value to zero葉he height will be calculated when the tool is run.numberRows
- determines the number of rows the fishnet will have. If you want the number of rows to be automatically calculated using the value in the Cell Size Width parameter, set this value to zero葉he number of rows will be calculated when the tool is run.numberColumns
- determines the number of columns the fishnet will have. If you want the number of columns to be automatically calculated using the value in the Cell Size Height parameter, set this value to zero葉he number of rows will be calculated when the tool is run.Method Detail |
---|
public Object getOutFeatureClass()
public void setOutFeatureClass(Object outFeatureClass)
outFeatureClass
- the output feature class containing the fishnet of rectangular cells.public Object getOriginCoord()
public void setOriginCoord(Object originCoord)
originCoord
- the starting pivot point of the fishnet.public Object getYAxisCoord()
public void setYAxisCoord(Object yAxisCoord)
yAxisCoord
- the Y-axis coordinate is used to orient the fishnet. The fishnet is rotated by the same angle as defined by the line connecting the origin and the y-axis coordiinate.public double getCellWidth()
public void setCellWidth(double cellWidth)
cellWidth
- determines the width of each cell. If you want the width to be automatically calculated using the value in the Number of Rows parameter, set this value to zero葉he width will be calculated when the tool is run.public double getCellHeight()
public void setCellHeight(double cellHeight)
cellHeight
- determines the height of each cell. If you want the height to be automatically calculated using the value in the Number of Columns parameter, set this value to zero葉he height will be calculated when the tool is run.public int getNumberRows()
public void setNumberRows(int numberRows)
numberRows
- determines the number of rows the fishnet will have. If you want the number of rows to be automatically calculated using the value in the Cell Size Width parameter, set this value to zero葉he number of rows will be calculated when the tool is run.public int getNumberColumns()
public void setNumberColumns(int numberColumns)
numberColumns
- determines the number of columns the fishnet will have. If you want the number of columns to be automatically calculated using the value in the Cell Size Height parameter, set this value to zero葉he number of rows will be calculated when the tool is run.public Object getCornerCoord()
public void setCornerCoord(Object cornerCoord)
cornerCoord
- the opposite corner of the fishnet set by X-Coordinate and Y-Coordinate values.public String getLabels()
public void setLabels(String labels)
labels
- specify whether or not a point feature class will be created containing label points at the center of each fishnet cell.public Object getTemplate()
public void setTemplate(Object template)
template
- specify the extent of the fishnet. The extent can be entered by specifying the coordinates or using a template dataset.public String getGeometryType()
public void setGeometryType(String geometryType)
geometryType
- determines if the output fishnet cells will be polyline or polygon features.public Object getOutLabel()
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 |