com.esri.arcgis.geodatabase
Interface INetTopologyEditGEN

All Superinterfaces:
Serializable
All Known Implementing Classes:
INetTopologyEditGENProxy

public interface INetTopologyEditGEN
extends Serializable

Provides access to members that add and delete network elements from the logical network. INetTopologyEditGEN is generic version of INetTopologyEdit.

Product Availability

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


Method Summary
 int addEdgeByEndEIDs(INetElementDescription edgeDescription, int fromJunctionEID, int toJunctionEID)
          Adds an edge element to the logical network between the specified junction elements.
 int addJunction(INetElementDescription junctionDescription)
          Adds a junction element to the logical network.
 void deleteByEID(int eID, int elementType)
          Deletes the specified network element from the logical network.
 void deleteByEIDs(int elementType, int[] elementEIDs)
          Deletes the specified network elements from the logical network.
 void deleteByID(int userClassID, int userID, int userSubID, int elementType)
          Deletes the specified network element from the logical network.
 void getAdjacentEdge(int atJunctionEID, int index, int[] adjacentEdge, boolean[] reverseOrientation)
          Returns the network element ID of the index'th adjacent edge to the specified junction.
 int getAdjacentEdgeCount(int atJunctionEID)
          Returns the number of edges adjacent to the specified junction.
 void getAdjacentEdges(int atJunctionEID, int[][] adjacentEdges, boolean[][] reverseOrientation)
          Returns the network element IDs of all the edges adjacent to the specified junction.
 void getFromToJunctionEIDs(int edgeEID, int[] fromJunctionEID, int[] toJunctionEID)
          Returns the network element IDs of the junctions adjacent to the specified edge.
 

Method Detail

getFromToJunctionEIDs

void getFromToJunctionEIDs(int edgeEID,
                           int[] fromJunctionEID,
                           int[] toJunctionEID)
                           throws IOException,
                                  AutomationException
Returns the network element IDs of the junctions adjacent to the specified edge.

Product Availability

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

Parameters:
edgeEID - The edgeEID (in)
fromJunctionEID - The fromJunctionEID (out: use single element array)
toJunctionEID - The toJunctionEID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentEdgeCount

int getAdjacentEdgeCount(int atJunctionEID)
                         throws IOException,
                                AutomationException
Returns the number of edges adjacent to the specified junction.

Product Availability

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

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

getAdjacentEdge

void getAdjacentEdge(int atJunctionEID,
                     int index,
                     int[] adjacentEdge,
                     boolean[] reverseOrientation)
                     throws IOException,
                            AutomationException
Returns the network element ID of the index'th adjacent edge to the specified junction.

Product Availability

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

Parameters:
atJunctionEID - The atJunctionEID (in)
index - The index (in)
adjacentEdge - The adjacentEdge (out: use single element array)
reverseOrientation - The reverseOrientation (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentEdges

void getAdjacentEdges(int atJunctionEID,
                      int[][] adjacentEdges,
                      boolean[][] reverseOrientation)
                      throws IOException,
                             AutomationException
Returns the network element IDs of all the edges adjacent to the specified junction.

Remarks

GetAdjacentEdges returns an array of the edges connected to the specified junction, along with their orientation.

A ReverseOrientation of True indicates that the Junction is at the To end of the edge, while False indicates the opposite.

INetTopologyEditGEN::GetAdjacentEdges is marked as hidden, since its functionality is similar to IForwardStarGEN::QueryAdjacentEdges(). Clients should use QueryAdjacentEdges in lieu of using INetTopologyEditGEN::GetAdjacentEdges.

Product Availability

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

Parameters:
atJunctionEID - The atJunctionEID (in)
adjacentEdges - The adjacentEdges (in/out: use single element array)
reverseOrientation - The reverseOrientation (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addJunction

int addJunction(INetElementDescription junctionDescription)
                throws IOException,
                       AutomationException
Adds a junction element to the logical network.

Product Availability

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

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

addEdgeByEndEIDs

int addEdgeByEndEIDs(INetElementDescription edgeDescription,
                     int fromJunctionEID,
                     int toJunctionEID)
                     throws IOException,
                            AutomationException
Adds an edge element to the logical network between the specified junction elements.

Product Availability

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

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

deleteByID

void deleteByID(int userClassID,
                int userID,
                int userSubID,
                int elementType)
                throws IOException,
                       AutomationException
Deletes the specified network element from the logical network.

Product Availability

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

Parameters:
userClassID - The userClassID (in)
userID - The userID (in)
userSubID - The userSubID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByEID

void deleteByEID(int eID,
                 int elementType)
                 throws IOException,
                        AutomationException
Deletes the specified network element from the logical network.

Product Availability

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

Parameters:
eID - The eID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByEIDs

void deleteByEIDs(int elementType,
                  int[] elementEIDs)
                  throws IOException,
                         AutomationException
Deletes the specified network elements from the logical network.

Product Availability

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

Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
elementEIDs - The elementEIDs (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.