|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INATraversalResultQuery
Provides access to the results of an analysis.
The INATraversalResultQuery interface is used to navigate through the traversal result and to provide the field names for various fields on the traversal classes.
You can use the properties ending with "FieldName" to get the fields holding the information about what the NATraversalResultElement is referencing. Here is a description about what each field holds:
Use the FeatureClass property to return a feature class holding all the NATraversalResultElements of a specific type (esriNETJunction, esriNETEdge, esriNETTurn). This feature class can be accessed like any other feature class in ArcGIS.
Use the SearchConnected method to return the NATraversalResultElements that are connected to the input NATraversalResultElement.
| Method Summary | |
|---|---|
String |
getElementIDFieldName()
The element ID field name. |
IFeatureClass |
getFeatureClass(int networkElementType)
The feature class by element type. |
String |
getFromEdgeIDFieldName()
The from edge ID field name. |
String |
getFromJunctionIDFieldName()
The from junction ID field name. |
String |
getFromPositionFieldName()
The from position field name. |
String |
getSourceIDFieldName()
The source ID field name. |
String |
getSourceOIDFieldName()
The source OID field name. |
String |
getToEdgeIDFieldName()
The to edge ID field name. |
String |
getToJunctionIDFieldName()
The to junction ID field name. |
String |
getToPositionFieldName()
The to position field name. |
IFeatureCursor |
searchConnected(INATraversalResultElement element,
int searchedElementType,
int searchedDirection,
boolean recycle)
Returns a connected set of elements in the result. |
| Method Detail |
|---|
IFeatureClass getFeatureClass(int networkElementType)
throws IOException,
AutomationException
networkElementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IFeatureCursor searchConnected(INATraversalResultElement element,
int searchedElementType,
int searchedDirection,
boolean recycle)
throws IOException,
AutomationException
The SearchConnected method returns the NATraversalResultElements that are connected to the input NATraversalResultElement.
The searchedElementType parameter allows you to specify if you want to find the connected junctions, edges, or turns. The searchedDirection parameter specifies the direction. For example, esriRelDirectionForward will constrain the returned elements to just be those that were reached in the traversal after the current element.
The recycle parameter specifies that the same feature object should be used over and over with the underlying data just switched out. Use this option if you don't need to keep references to multiple traversal elements at the same time.
element - A reference to a com.esri.arcgis.networkanalyst.INATraversalResultElement (in)searchedElementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)searchedDirection - A com.esri.arcgis.geodatabase.esriRelDirection constant (in)recycle - The recycle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getElementIDFieldName()
throws IOException,
AutomationException
Specifies the ElementID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getSourceIDFieldName()
throws IOException,
AutomationException
Specifies the SourceID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getSourceOIDFieldName()
throws IOException,
AutomationException
Specifies the SourceOID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFromPositionFieldName()
throws IOException,
AutomationException
Specifies the FromPosition field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getToPositionFieldName()
throws IOException,
AutomationException
Specifies the ToPosition field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFromJunctionIDFieldName()
throws IOException,
AutomationException
Specifies the FromJunctionID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getToJunctionIDFieldName()
throws IOException,
AutomationException
Specifies the ToJunctionID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFromEdgeIDFieldName()
throws IOException,
AutomationException
Specifies the FromEdgeID field name.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getToEdgeIDFieldName()
throws IOException,
AutomationException
Specifies the ToEdgeID field name.
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 | ||||||||