com.esri.arcgis.networkanalyst
Interface INATraversalResultEdit2

All Superinterfaces:
INATraversalResultEdit, Serializable
All Known Implementing Classes:
NATraversalResult

public interface INATraversalResultEdit2
extends INATraversalResultEdit, Serializable

Provides access to the editable properties of a traversal result.

Remarks

The INATraversalResultEdit2 interface provides methods to update the NATraversalResult object.

Product Availability

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


Method Summary
 int createEdgeEx(int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result.
 int createJunctionEx(int sourceID, int sourceOID, int eID, IPoint point)
          Make a new junction in the result.
 int createSimpleTurnEx(int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID)
          Make a new two edge turn in the result.
 void writeEdgeBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline)
          Make a new edge in the result from the feature buffer.
 void writeJunctionBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, IPoint point)
          Make a new junction in the result from the feature buffer.
 void writeSimpleTurnBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID)
          Make a new two part turn in the result from the feature buffer.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INATraversalResultEdit
createEdge, createJunction, createSimpleTurn, inferGeometry, startEditing, stopEditing, writeEdgeBuffer, writeJunctionBuffer, writeSimpleTurnBuffer
 

Method Detail

createJunctionEx

int createJunctionEx(int sourceID,
                     int sourceOID,
                     int eID,
                     IPoint point)
                     throws IOException,
                            AutomationException
Make a new junction in the result.

Remarks

CreateJunctionEx creates a junction in the traversal results junction feature class.

It is unnecessary to pass in a geometry. If passed in, it will be used. Otherwise, it is possible to call InferGeometry later to infer all of the geometries.

Product Availability

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

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

createEdgeEx

int createEdgeEx(int sourceID,
                 int sourceOID,
                 int eID,
                 double fromPosition,
                 double toPosition,
                 int fromJunctionID,
                 int toJunctionID,
                 IPolyline polyline)
                 throws IOException,
                        AutomationException
Make a new edge in the result.

Remarks

CreateEdgeEx creates an edge in the traversal results edge feature class.

It is unnecessary to pass in a geometry. If passed in, it will be used. Otherwise, it is possible to call InferGeometry later to infer all of the geometries.

Product Availability

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

Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Returns:
The elementID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSimpleTurnEx

int createSimpleTurnEx(int sourceID,
                       int sourceOID,
                       int eID,
                       int fromEdgeID,
                       int toEdgeID)
                       throws IOException,
                              AutomationException
Make a new two edge turn in the result.

Remarks

CreateSimpleTurnEx creates a turn between two edges in the traversal results turn feature class.

Product Availability

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

Parameters:
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Returns:
The elementID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeJunctionBufferEx

void writeJunctionBufferEx(IFeatureBuffer featureBuffer,
                           int sourceID,
                           int sourceOID,
                           int eID,
                           IPoint point)
                           throws IOException,
                                  AutomationException
Make a new junction in the result from the feature buffer.

Remarks

WriteJunctionBufferEx populates the input FeatureBuffer with the other input parameters. This FeatureBuffer can then be passed to an insert cursor on the traversal result feature class.

Product Availability

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

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

writeEdgeBufferEx

void writeEdgeBufferEx(IFeatureBuffer featureBuffer,
                       int sourceID,
                       int sourceOID,
                       int eID,
                       double fromPosition,
                       double toPosition,
                       int fromJunctionID,
                       int toJunctionID,
                       IPolyline polyline)
                       throws IOException,
                              AutomationException
Make a new edge in the result from the feature buffer.

Remarks

WriteEdgeBufferEx populates the input FeatureBuffer with the other input parameters. This FeatureBuffer can then be passed to an insert cursor on the traversal result feature class.

Product Availability

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

Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
fromJunctionID - The fromJunctionID (in)
toJunctionID - The toJunctionID (in)
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeSimpleTurnBufferEx

void writeSimpleTurnBufferEx(IFeatureBuffer featureBuffer,
                             int sourceID,
                             int sourceOID,
                             int eID,
                             int fromEdgeID,
                             int toEdgeID)
                             throws IOException,
                                    AutomationException
Make a new two part turn in the result from the feature buffer.

Remarks

WriteSimpleTurnBufferEx populates the input FeatureBuffer with the other input parameters. This FeatureBuffer can then be passed to an insert cursor on the traversal result feature class.

Product Availability

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

Parameters:
featureBuffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
sourceID - The sourceID (in)
sourceOID - The sourceOID (in)
eID - The eID (in)
fromEdgeID - The fromEdgeID (in)
toEdgeID - The toEdgeID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.