com.esri.arcgis.geodatabase
Interface ISimpleJunctionFeature

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleJunctionFeature

public interface ISimpleJunctionFeature
extends Serializable

Provides access to members that return information about simple junction features.

Remarks

The ISimpleJunctionFeature interface contains three properties for retrieving information about a simple junction. The EdgeFeatureCount property indicates the number of edge features connected to the simple junction, and EdgeFeature property returns the connected edge feature at the specified index. Note that the index for EdgeFeature is zero-based.

When To Use

The ISimpleJunctionFeature interface is used to return the element ID of the junction and information about the edges to which it is connected. The ISimpleJunctionFeature interface should not be used as a means to traverse the network. It should only be used to return the connectivity information concerning the edge features connected to the junction. Using the ISimpleJunctionFeature 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.


Method Summary
 IEdgeFeature getEdgeFeature(int index)
          The EdgeFeature associated with the specified index value.
 int getEdgeFeatureCount()
          The number of EdgeFeatures associated with this junction.
 int getEID()
          The logical network element ID of this junction.
 

Method Detail

getEdgeFeatureCount

int getEdgeFeatureCount()
                        throws IOException,
                               AutomationException
The number of EdgeFeatures associated with this junction.

Remarks

The EdgeFeatureCount property returns the number of simple edge features connected to the simple junction. If the junction is connected mid-span on a complex edge feature, EdgeFeatureCount returns the number of edge elements connected to the junction.

As with the other properties on ISimpleJunctionFeature the EdgeFeatureCount property should not be used to traverse the geometric network. The IForwardStar interface on the Network Object Model should be used for traversing the network.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getEdgeFeature

IEdgeFeature getEdgeFeature(int index)
                            throws IOException,
                                   AutomationException
The EdgeFeature associated with the specified index value.

Product Availability

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

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

getEID

int getEID()
           throws IOException,
                  AutomationException
The logical network element ID of this junction.

Remarks

The GetEID property returns the network element associated with the simple junction. Since simple junctions correspond to a single element in the logical network, there is only one EID associated with a simple junction. As with the other properties on ISimpleJunctionFeature the GetEID property should not be used to traverse the geometric network. The IForwardStar interface on the Network Object Model should be used for traversing the network.

If the simple junction feature does not have an EID, a value of 0 will be returned.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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