|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEdgeFeature
Provides access to members that modify and return information about an edge feature.
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.
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 |
---|
void disconnectAtEndpoint(int eID, int fromEID, int toEID, boolean disconnectFrom, boolean disconnectTo) throws IOException, AutomationException
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.
eID
- The eID (in)fromEID
- The fromEID (in)toEID
- The toEID (in)disconnectFrom
- The disconnectFrom (in)disconnectTo
- The disconnectTo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disconnectAtJunction(int eID, int junctionEID) throws IOException, AutomationException
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.
eID
- The eID (in)junctionEID
- The junctionEID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometryForEdgeElement(int subID) throws IOException, AutomationException
subID
- The subID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFromJunctionEID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IJunctionFeature getFromJunctionFeature() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getToJunctionEID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IJunctionFeature getToJunctionFeature() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumNetEID getFromToJunctionEIDs() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update(INetworkFeature callingFeature, IPoint oldJunctionLocation, IPoint newJunctionLocation, ISet rigidEdges, ITransformGroup group) throws IOException, AutomationException
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.
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)
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 |