|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INALocationRanges
Provides access to properties of an NALocationRanges object.
INALocationRanges is the main interface of the NALocationRanges object. It provides properties to add and query for junctions and ranges along edges.
Method Summary | |
---|---|
void |
addEdgeRange(int edgeEID,
int direction,
double fromPosition,
double toPosition)
Adds an edge EID, as well as the direction and the specified range of positions along that edge, to the NALocationRanges object. |
void |
addJunction(int junctionEID)
Adds a junction EID to the NALocationRanges object. |
int |
getEdgeRangeCount()
Returns the number of edge ranges currently stored in the NALocationRanges object. |
int |
getJunctionCount()
Returns the number of junction EIDs currently stored in the NALocationRanges object. |
void |
queryEdgeRange(int index,
int[] edgeEID,
int[] direction,
double[] fromPosition,
double[] toPosition)
Retrieves the edge EID, along with the direction and the range of positions along that edge, stored at the specified index in the NALocationRanges object. |
void |
queryJunction(int index,
int[] junctionEID)
Retrieves the junction EID stored at the specified index in the NALocationRanges object. |
void |
removeAll()
Removes all junction and edge information currently stored in the NALocationRanges object. |
Method Detail |
---|
int getJunctionCount() throws IOException, AutomationException
Provides a count of the junction EIDs held by the NALocationRanges object.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addJunction(int junctionEID) throws IOException, AutomationException
Adds a junction EID to the set held by the NALocationRanges object.
junctionEID
- The junctionEID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryJunction(int index, int[] junctionEID) throws IOException, AutomationException
Retrieves by index one of the junction EIDs held by the NALocationRanges object.
index
- The index (in)junctionEID
- The junctionEID (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getEdgeRangeCount() throws IOException, AutomationException
Provides a count of the edge EIDs held by the NALocationRanges object.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addEdgeRange(int edgeEID, int direction, double fromPosition, double toPosition) throws IOException, AutomationException
Adds an edge EID, as well as the direction and the specified range along that edge, to the set held by the NALocationRanges object.
edgeEID
- The edgeEID (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)fromPosition
- The fromPosition (in)toPosition
- The toPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryEdgeRange(int index, int[] edgeEID, int[] direction, double[] fromPosition, double[] toPosition) throws IOException, AutomationException
Retrieves by index one of the edge EIDs, along with the direction and the range along that edge, held by the NALocationRanges object.
index
- The index (in)edgeEID
- The edgeEID (in/out: use single element array)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in/out: use single element array)fromPosition
- The fromPosition (in/out: use single element array)toPosition
- The toPosition (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
Removes all elements from the set of edge and junction EIDs held by the NALocationRanges object.
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 |