com.esri.arcgis.geodatabase
Interface IComplexNetworkFeature

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

public interface IComplexNetworkFeature
extends Serializable

Provides access to members that return and modify complex network features.

Remarks

The IComplexNetworkFeature interface provides a mechanism to determine the number of edge elements in the logical network that are associated with the complex network feature; it can also be used to return their Enabled properties and finds the edge element ID (or EID) that is associated with the portion of the geometry found at the specified location. The IComplexNetworkFeature::EnabledByIndex property should not be used to set the enabled value, see the help on the EnabledByIndex property for more information.

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as class extensions.

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
 int findEdgeEID(IPoint point)
          The EID associated with the EdgeElement at the specified point.
 int getEdgeElementCount()
          The number of edge elements associated with this Feature.
 boolean isEnabledByIndex(int edgeIndex)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 void setEnabledByIndex(int edgeIndex, boolean isEnabled)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 

Method Detail

getEdgeElementCount

int getEdgeElementCount()
                        throws IOException,
                               AutomationException
The number of edge elements associated with this Feature.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as class extensions.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

findEdgeEID

int findEdgeEID(IPoint point)
                throws IOException,
                       AutomationException
The EID associated with the EdgeElement at the specified point.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as class extensions.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isEnabledByIndex

boolean isEnabledByIndex(int edgeIndex)
                         throws IOException,
                                AutomationException
Indicates whether the NetworkFeature is open or not (i.e., closed).

Product Availability

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

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

setEnabledByIndex

void setEnabledByIndex(int edgeIndex,
                       boolean isEnabled)
                       throws IOException,
                              AutomationException
Indicates whether the NetworkFeature is open or not (i.e., closed).

Product Availability

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

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