|
|||||||||
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.CreateRandomPoints
public class CreateRandomPoints
Creates a specified number of random point features. Random points can be generated in an extent window, inside polygon features, on point features, or along line features. The Create Random Points tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateRandomPoints()
Creates the Create Random Points tool with defaults. |
|
CreateRandomPoints(Object outPath,
String outName)
Creates the Create Random Points tool with the required parameters. |
Method Summary | |
---|---|
Object |
getConstrainingExtent()
Returns the Constraining Extent parameter of this tool . |
Object |
getConstrainingFeatureClass()
Returns the Constraining Feature Class parameter of this tool . |
String |
getCreateMultipointOutput()
Returns the Create Multipoint Output parameter of this tool . |
Object |
getMinimumAllowedDistance()
Returns the Minimum Allowed Distance [value or field] parameter of this tool . |
int |
getMultipointSize()
Returns the Maximum Number of Points per Multipoint parameter of this tool . |
Object |
getNumberOfPointsOrField()
Returns the Number of Points [value or field] parameter of this tool . |
Object |
getOutFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). |
String |
getOutName()
Returns the Output Point Feature Class parameter of this tool . |
Object |
getOutPath()
Returns the Output Location 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 |
setConstrainingExtent(Object constrainingExtent)
Sets the Constraining Extent parameter of this tool . |
void |
setConstrainingFeatureClass(Object constrainingFeatureClass)
Sets the Constraining Feature Class parameter of this tool . |
void |
setCreateMultipointOutput(String createMultipointOutput)
Sets the Create Multipoint Output parameter of this tool . |
void |
setMinimumAllowedDistance(Object minimumAllowedDistance)
Sets the Minimum Allowed Distance [value or field] parameter of this tool . |
void |
setMultipointSize(int multipointSize)
Sets the Maximum Number of Points per Multipoint parameter of this tool . |
void |
setNumberOfPointsOrField(Object numberOfPointsOrField)
Sets the Number of Points [value or field] parameter of this tool . |
void |
setOutName(String outName)
Sets the Output Point Feature Class parameter of this tool . |
void |
setOutPath(Object outPath)
Sets the Output Location 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 CreateRandomPoints()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateRandomPoints(Object outPath, String outName)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
outPath
- the location or workspace in which the random points feature class will be created. This location or workspace must already exist.outName
- the name of the random points feature class to be created.Method Detail |
---|
public Object getOutPath()
public void setOutPath(Object outPath)
outPath
- the location or workspace in which the random points feature class will be created. This location or workspace must already exist.public String getOutName()
public void setOutName(String outName)
outName
- the name of the random points feature class to be created.public Object getConstrainingFeatureClass()
public void setConstrainingFeatureClass(Object constrainingFeatureClass)
constrainingFeatureClass
- random points will be generated inside or along the features in this feature class. The constraining feature class can be geometry type point, multipoint, line, or polygon. Points will randomly be placed inside polygon features, along line features, or at point feature locations.public Object getConstrainingExtent()
public void setConstrainingExtent(Object constrainingExtent)
constrainingExtent
- random points will be generated inside the extent. The constraining extent will only be used if no constraining feature class is specified.public Object getNumberOfPointsOrField()
public void setNumberOfPointsOrField(Object numberOfPointsOrField)
numberOfPointsOrField
- the number of points to be randomly generated. the number of points can be specified as a long integer number or as a field from the constraining features containing numeric values for how many random points to place within each feature. The field option is only valid for polygon or line constraining features. If the number of points is supplied as a long integer number, each feature in the constraining feature class will have that number of random points generated inside or along it.public Object getMinimumAllowedDistance()
public void setMinimumAllowedDistance(Object minimumAllowedDistance)
minimumAllowedDistance
- the shortest distance allowed between any two randomly placed points. If a value of "1 Meter" is specified, all random points will be farther than 1 meter away from the closest point.public String getCreateMultipointOutput()
public void setCreateMultipointOutput(String createMultipointOutput)
createMultipointOutput
- determines if the output feature class will be a multipart or single part feature.public int getMultipointSize()
public void setMultipointSize(int multipointSize)
multipointSize
- if the Create Multipoint Output option is used (checked/MULTIPOINT), this parameter specifies the number of random points to be placed in each multipoint geometry.public Object getOutFeatureClass()
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 |