|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INATraversalResultEdit
Provides access to the editable properties of a traversal result.
INATraversalResultEdit has been superseded by INATraversalResultEdit2.
Method Summary | |
---|---|
int |
createEdge(int sourceID,
int sourceOID,
double fromPosition,
double toPosition,
int fromJunctionID,
int toJunctionID,
IPolyline polyline)
Make a new edge in the result. |
int |
createJunction(int sourceID,
int sourceOID,
IPoint point)
Make a new junction in the result. |
int |
createSimpleTurn(int sourceID,
int sourceOID,
int fromEdgeID,
int toEdgeID)
Make a new two edge turn in the result. |
void |
inferGeometry(String sourceName,
IEnvelope envelope,
ITrackCancel trackCancel)
Constructs the geometry for the result. |
void |
startEditing()
Starts editing the result.. |
void |
stopEditing()
Stops editing the result. |
void |
writeEdgeBuffer(IFeatureBuffer featureBuffer,
int sourceID,
int sourceOID,
double fromPosition,
double toPosition,
int fromJunctionID,
int toJunctionID,
IPolyline polyline)
Make a new edge in the result from the feature buffer. |
void |
writeJunctionBuffer(IFeatureBuffer featureBuffer,
int sourceID,
int sourceOID,
IPoint point)
Make a new junction in the result from the feature buffer. |
void |
writeSimpleTurnBuffer(IFeatureBuffer featureBuffer,
int sourceID,
int sourceOID,
int fromEdgeID,
int toEdgeID)
Make a new two part turn in the result from the feature buffer. |
Method Detail |
---|
void startEditing() throws IOException, AutomationException
The method StartEditing puts the traversal result in a state to quickly add NATraversalResultElements to the underlying feature classes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void stopEditing() throws IOException, AutomationException
The method StopEditing should be called when the solver is done adding NATraversalResultElements to the traversal result's underlying feature classes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void inferGeometry(String sourceName, IEnvelope envelope, ITrackCancel trackCancel) throws IOException, AutomationException
The InferGeometry method takes a source name (or an empty string which equates to all sources) as input and computes the geometry for each NATraversalResultElement based on its corresponding features in the NetworkDataset and NAContext.
sourceName
- The sourceName (in)envelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int createJunction(int sourceID, int sourceOID, IPoint point) throws IOException, AutomationException
CreateJunction has been superseded by INATraversalResultEdit2.CreateJunctionEx.
sourceID
- The sourceID (in)sourceOID
- The sourceOID (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 createEdge(int sourceID, int sourceOID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline) throws IOException, AutomationException
CreateEdge has been superseded by INATraversalResultEdit2.CreateEdgeEx.
sourceID
- The sourceID (in)sourceOID
- The sourceOID (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 createSimpleTurn(int sourceID, int sourceOID, int fromEdgeID, int toEdgeID) throws IOException, AutomationException
CreateSimpleTurn has been superseded by INATraversalResultEdit2.CreateSimpleTurnEx.
sourceID
- The sourceID (in)sourceOID
- The sourceOID (in)fromEdgeID
- The fromEdgeID (in)toEdgeID
- The toEdgeID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeJunctionBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, IPoint point) throws IOException, AutomationException
WriteJunctionBuffer has been superseded by INATraversalResultEdit2.WriteJunctionBufferEx.
featureBuffer
- A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)sourceID
- The sourceID (in)sourceOID
- The sourceOID (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 writeEdgeBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, double fromPosition, double toPosition, int fromJunctionID, int toJunctionID, IPolyline polyline) throws IOException, AutomationException
WriteEdgeBuffer has been superseded by INATraversalResultEdit2.WriteEdgeBufferEx.
featureBuffer
- A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)sourceID
- The sourceID (in)sourceOID
- The sourceOID (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 writeSimpleTurnBuffer(IFeatureBuffer featureBuffer, int sourceID, int sourceOID, int fromEdgeID, int toEdgeID) throws IOException, AutomationException
WriteSimpleTurnBuffer has been superseded by INATraversalResultEdit2.WriteSimpleTurnBufferEx.
featureBuffer
- A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)sourceID
- The sourceID (in)sourceOID
- The sourceOID (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 |