|
|||||||||
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.
INATraversalResultQuery has been superseded by INATraversalResultQuery2.
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. The ElementID field value provides the ObjectID of the NATraversalResultElement.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSourceIDFieldName() throws IOException, AutomationException
Specifies the SourceID field name. The SourceID field value provides the SourceID of the feature class the NATraversalResultElement is referencing. This references the SourceID of a NATraversalResultSource accessed through INATraversalResult.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSourceOIDFieldName() throws IOException, AutomationException
Specifies the SourceOID field name. The SourceOID field value provides the ObjectID of the Feature in the NetworkDataset's or NAContext's FeatureClass.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFromPositionFieldName() throws IOException, AutomationException
Specifies the FromPosition field name. The FromPosition field value provides the starting position of an NATraversalResultElement on the underlying feature in the network dataset.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getToPositionFieldName() throws IOException, AutomationException
Specifies the ToPosition field name. The ToPosition field value provides the ending position of an NATraversalResultElement on the underlying feature in the network dataset.
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 |