com.esri.arcgis.geodatabase
Class IGeometricNetworkConnectivityProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IGeometricNetworkConnectivityProxy
All Implemented Interfaces:
IGeometricNetworkConnectivity, Externalizable, Serializable
Direct Known Subclasses:
IGeometricNetworkConnectivity2Proxy

public class IGeometricNetworkConnectivityProxy
extends com.esri.arcgis.interop.Dispatch
implements IGeometricNetworkConnectivity, Serializable

Provides access to a member that rebuilds geometric network connectivity.

Superseded By

IGeometricNetworkConnectivity2

Remarks

The IGeometricNetworkConnectivity interface provides access to the RebuildConnectivity method that can be used to rebuild the connectivity of any network feature that is contained within or intersects the specified envelope.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGeometricNetworkConnectivityProxy()
           
  IGeometricNetworkConnectivityProxy(Object obj)
           
protected IGeometricNetworkConnectivityProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void rebuildConnectivity(IEnvelope incrementalRebuildArea)
          Incrementally rebuilds connectivity for features within and intersecting the specified envelope.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGeometricNetworkConnectivityProxy

public IGeometricNetworkConnectivityProxy()

IGeometricNetworkConnectivityProxy

public IGeometricNetworkConnectivityProxy(Object obj)
                                   throws IOException
Throws:
IOException

IGeometricNetworkConnectivityProxy

protected IGeometricNetworkConnectivityProxy(Object obj,
                                             String iid)
                                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

rebuildConnectivity

public void rebuildConnectivity(IEnvelope incrementalRebuildArea)
                         throws IOException,
                                AutomationException
Incrementally rebuilds connectivity for features within and intersecting the specified envelope.

Description

If network connectivity errors are found within the geometric network, they can generally be corrected through the use of the RebuildConnectivity method. This method takes an envelope which should contain the network features for which connectivity should be rebuilt. The RebuildConnectivity method does not check for invalid connectivity, it will remove and then rebuild the connectivity of any feature contained within or intersecting the specified envelope. It is a computationally expensive operation and can take a significant amount of time to complete if executed against a large number of network features. The envelope should also be as small as possible, it is faster to call RebuildConnectivity on two small areas rather than one large area that encompasses both smaller areas. RebuildConnectivity should not be used to establish connectivity between valid network features. To establish connectivity, use INetworkFeature::Connect .

There are instances when RebuildConnectivity will not be able to rebuid the connectivity for network features. For this reason, IGeometricNetworkConnectivity::RebuildConnectivity2 should be used in place of RepairConnectivity .

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
rebuildConnectivity in interface IGeometricNetworkConnectivity
Parameters:
incrementalRebuildArea - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.