|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISimpleJunctionFeature
Provides access to members that return information about simple junction features.
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.
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.
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 |
---|
int getEdgeFeatureCount() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEdgeFeature getEdgeFeature(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getEID() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |