com.esri.arcgis.geodatabase
Interface IGeometricNetworkConnectivity

All Superinterfaces:
Serializable
All Known Subinterfaces:
IGeometricNetworkConnectivity2
All Known Implementing Classes:
GeometricNetwork, IGeometricNetworkConnectivity2Proxy, IGeometricNetworkConnectivityProxy

public interface IGeometricNetworkConnectivity
extends 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.


Method Summary
 void rebuildConnectivity(IEnvelope incrementalRebuildArea)
          Incrementally rebuilds connectivity for features within and intersecting the specified envelope.
 

Method Detail

rebuildConnectivity

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

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.