|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetworkFeature
Provides access to members that are common to all features in a GeometricNetwork.
Features in a network can have one of four roles:
Simple Edge
Simple Junction
Complex Edge
Complex Junction
IComplexNetworkFeature
,
IJunctionFeature
,
INetworkFeature.connect()
,
IEdgeFeature
,
IComplexJunctionFeature
,
IComplexEdgeFeature
,
INetworkFeatureEvents
,
ISimpleJunctionFeature
,
ISimpleEdgeFeature
,
INetworkFeature
Method Summary | |
---|---|
void |
connect()
Connect the Feature to the geometrically coincident NetworkFeature. |
IEnumNetEID |
createNetworkElements()
Create the necessary NetworkElements in the associated Logical Network. |
void |
disconnect()
Disconnect the Feature from all connected NetworkFeatures. |
IGeometricNetwork |
getGeometricNetwork()
The containing GeometricNetwork. |
boolean |
isEnabled()
Indicates whether the NetworkFeature is open or not (i.e., closed). |
void |
onDisconnect()
Preparation for disconnecting the NetworkFeature. |
void |
setEnabled(boolean isEnabled)
Indicates whether the NetworkFeature is open or not (i.e., closed). |
Method Detail |
---|
IGeometricNetwork getGeometricNetwork() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEnabled() throws IOException, AutomationException
The Enabled property provides access the enabled state of network features. The enabled state of network feature governs whether the feature is enabled or disabled for tracing. By default, all network features are enabled when the network is built or when first created.
All edits to features that participate in a Geometric Network must be performed within an edit session and bracketed within an edit operation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEnabled(boolean isEnabled) throws IOException, AutomationException
//Assume you already have a reference to IFeature called pFeature
INetworkFeature pNetworkFeature = pFeature;if(pNetworkFeature != null){
if(pNetworkFeature.isEnabled )
pNetworkFeature.setEnabled (false);
else
pNetworkFeature.setEnabled (true);
}
pFeature.store();
isEnabled
- The isEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void connect() throws IOException, AutomationException
All edits to features that participate in a Geometric Network must be performed within an edit session and bracketed within an edit operation.
Looping through a collection or enumeration of junctions and calling Connect on each one to establish connectivity with a complex edge feature is an expensive operation. Calling IComplexEdgeFeature::ConnectatIntermediateVertices once on the complex edge feature will result in increased performance with the same resultant connectivity.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IComplexEdgeFeature.connectAtIntermediateVertices()
void disconnect() throws IOException, AutomationException
All edits to features that participate in a Geometric Network must be performed within an edit session and bracketed within an edit operation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onDisconnect() throws IOException, AutomationException
OnDisconnect is not currently implemented.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumNetEID createNetworkElements() throws IOException, AutomationException
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 |