|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INATraversalResultEdit2
Provides access to the editable properties of a traversal result.
The INATraversalResultEdit2 interface provides methods to update the NATraversalResult object.
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 |
---|
int createJunctionEx(int sourceID, int sourceOID, int eID, IPoint point) throws IOException, AutomationException
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.
sourceID
- The sourceID (in)sourceOID
- The sourceOID (in)eID
- The eID (in)point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int createEdgeEx(int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline) throws IOException, AutomationException
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.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int createSimpleTurnEx(int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID) throws IOException, AutomationException
CreateSimpleTurnEx creates a turn between two edges in the traversal results turn feature class.
sourceID
- The sourceID (in)sourceOID
- The sourceOID (in)eID
- The eID (in)fromEdgeID
- The fromEdgeID (in)toEdgeID
- The toEdgeID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeJunctionBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, IPoint point) throws IOException, AutomationException
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.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeEdgeBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline) throws IOException, AutomationException
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.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeSimpleTurnBufferEx(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int eID, int fromEdgeID, int toEdgeID) throws IOException, AutomationException
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.
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)
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 |