com.esri.arcgis.geodatabase
Interface IEdgeFeature

All Superinterfaces:
Serializable
All Known Implementing Classes:
ComplexEdgeFeature, SimpleEdgeFeature

public interface IEdgeFeature
extends Serializable

Provides access to members that modify and return information about an edge feature.

Remarks

Use the IEdgeFeature interface to get information about an edge feature as well as to disconnect an edge feature from a geometric network. The IEdgeFeature interface should not be used as a means to traverse the network. IEdgeFeature should only be used to return the connectivity information for features connected to the specific edge feature. Using the IEdgeFeature interface to navigate through the network will be extremely slow and cumbersome. For traverses through the network use the IForwardStar interface on the Network Object Model.

Product Availability

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

See Also:
IComplexNetworkFeature, IJunctionFeature, INetworkFeature.connect(), IEdgeFeature, IComplexJunctionFeature, IComplexEdgeFeature, INetworkFeatureEvents, ISimpleJunctionFeature, ISimpleEdgeFeature, INetworkFeature

Method Summary
 void disconnectAtEndpoint(int eID, int fromEID, int toEID, boolean disconnectFrom, boolean disconnectTo)
          Perform the disconnection at either or both of the endpoint.
 void disconnectAtJunction(int eID, int junctionEID)
          Perform the disconnection at the specified junction.
 int getFromJunctionEID()
          The junction element EID that corresponds to the from endpoint.
 IJunctionFeature getFromJunctionFeature()
          The junction that corresponds to the from endpoint.
 IEnumNetEID getFromToJunctionEIDs()
          The FROM and TO junction element EIDs (the first is the FROM, the second is the TO).
 IGeometry getGeometryForEdgeElement(int subID)
          The geometry corresponding to the element with the given subID.
 int getToJunctionEID()
          The junction element EID that corresponds to the to endpoint.
 IJunctionFeature getToJunctionFeature()
          The junction that corresponds to the to endpoint.
 void update(INetworkFeature callingFeature, IPoint oldJunctionLocation, IPoint newJunctionLocation, ISet rigidEdges, ITransformGroup group)
          Programmatic update of the NetworkFeature.
 

Method Detail

disconnectAtEndpoint

void disconnectAtEndpoint(int eID,
                          int fromEID,
                          int toEID,
                          boolean disconnectFrom,
                          boolean disconnectTo)
                          throws IOException,
                                 AutomationException
Perform the disconnection at either or both of the endpoint.

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
eID - The eID (in)
fromEID - The fromEID (in)
toEID - The toEID (in)
disconnectFrom - The disconnectFrom (in)
disconnectTo - The disconnectTo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disconnectAtJunction

void disconnectAtJunction(int eID,
                          int junctionEID)
                          throws IOException,
                                 AutomationException
Perform the disconnection at the specified junction.

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
eID - The eID (in)
junctionEID - The junctionEID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryForEdgeElement

IGeometry getGeometryForEdgeElement(int subID)
                                    throws IOException,
                                           AutomationException
The geometry corresponding to the element with the given subID.

Product Availability

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

Parameters:
subID - The subID (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromJunctionEID

int getFromJunctionEID()
                       throws IOException,
                              AutomationException
The junction element EID that corresponds to the from endpoint.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The eID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromJunctionFeature

IJunctionFeature getFromJunctionFeature()
                                        throws IOException,
                                               AutomationException
The junction that corresponds to the from endpoint.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IJunctionFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToJunctionEID

int getToJunctionEID()
                     throws IOException,
                            AutomationException
The junction element EID that corresponds to the to endpoint.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The eID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToJunctionFeature

IJunctionFeature getToJunctionFeature()
                                      throws IOException,
                                             AutomationException
The junction that corresponds to the to endpoint.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IJunctionFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromToJunctionEIDs

IEnumNetEID getFromToJunctionEIDs()
                                  throws IOException,
                                         AutomationException
The FROM and TO junction element EIDs (the first is the FROM, the second is the TO).

Remarks

The FromToJunctionEIDs property hands back both the FROM and TO junction EIDs; it is more efficient to access this property than to call FromJunctionEID and ToJunctionEID.

It is important to note that these properties are generally computationally expensive.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumNetEID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

void update(INetworkFeature callingFeature,
            IPoint oldJunctionLocation,
            IPoint newJunctionLocation,
            ISet rigidEdges,
            ITransformGroup group)
            throws IOException,
                   AutomationException
Programmatic update of the NetworkFeature.

Remarks

The Update method is reserved for internal use during the process of updating the shape and storing the result. There is no need for clients to directly call this method.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
callingFeature - A reference to a com.esri.arcgis.geodatabase.INetworkFeature (in)
oldJunctionLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
newJunctionLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
rigidEdges - A reference to a com.esri.arcgis.system.ISet (in)
group - A reference to a com.esri.arcgis.geodatabase.ITransformGroup (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.