com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class SetClusterTolerance

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.datamanagementtools.SetClusterTolerance
All Implemented Interfaces:
GPTool

public class SetClusterTolerance
extends AbstractGPTool

Alters the cluster tolerance for the Input Topology. The cluster tolerance is used when validating the topology. The Set Cluster Tolerance tool is contained in the Data Management Tools tool box.

Software restrictions: ArcInfo and ArcEditor only

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
SetClusterTolerance()
          Creates the Set Cluster Tolerance tool with defaults.
SetClusterTolerance(Object inTopology, double clusterTolerance)
          Creates the Set Cluster Tolerance tool with the required parameters.
 
Method Summary
 double getClusterTolerance()
          Returns the Cluster Tolerance parameter of this tool .
 Object getInTopology()
          Returns the Input Topology parameter of this tool .
 Object getOutTopology()
          Returns the Output Topology parameter of this tool (Read only).
 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 setClusterTolerance(double clusterTolerance)
          Sets the Cluster Tolerance parameter of this tool .
 void setInTopology(Object inTopology)
          Sets the Input Topology 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

SetClusterTolerance

public SetClusterTolerance()
Creates the Set Cluster Tolerance tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


SetClusterTolerance

public SetClusterTolerance(Object inTopology,
                           double clusterTolerance)
Creates the Set Cluster Tolerance tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inTopology - Topology, the topology for which you want to change the cluster tolerance.
clusterTolerance - Double, the minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validate topology process. If you enter a value of zero, the default or minimum cluster tolerance will be applied to the topology.
Method Detail

getInTopology

public Object getInTopology()
Returns the Input Topology parameter of this tool . This parameter is Topology, the topology for which you want to change the cluster tolerance. This is a required parameter.

Returns:
the Input Topology

setInTopology

public void setInTopology(Object inTopology)
Sets the Input Topology parameter of this tool . This parameter is Topology, the topology for which you want to change the cluster tolerance. This is a required parameter.

Parameters:
inTopology - Topology, the topology for which you want to change the cluster tolerance.

getClusterTolerance

public double getClusterTolerance()
Returns the Cluster Tolerance parameter of this tool . This parameter is Double, the minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validate topology process. If you enter a value of zero, the default or minimum cluster tolerance will be applied to the topology. This is a required parameter.

Returns:
the Cluster Tolerance

setClusterTolerance

public void setClusterTolerance(double clusterTolerance)
Sets the Cluster Tolerance parameter of this tool . This parameter is Double, the minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validate topology process. If you enter a value of zero, the default or minimum cluster tolerance will be applied to the topology. This is a required parameter.

Parameters:
clusterTolerance - Double, the minimum distance between vertices in the topology. Vertices that fall within the cluster tolerance will be snapped together during the validate topology process. If you enter a value of zero, the default or minimum cluster tolerance will be applied to the topology.

getOutTopology

public Object getOutTopology()
Returns the Output Topology parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Topology

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias