com.esri.arcgis.networkanalyst
Interface INALocationRanges

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INALocationRangesProxy, NALocationRanges

public interface INALocationRanges
extends java.io.Serializable

COM Interface 'INALocationRanges'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to properties of an NALocationRanges object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID96fc62db_e8b5_43a3_9669_7062b33cbdf1
           
static int xxDummy
          Deprecated. Internal use only
 
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.
 

Field Detail

IID96fc62db_e8b5_43a3_9669_7062b33cbdf1

static final int IID96fc62db_e8b5_43a3_9669_7062b33cbdf1
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getJunctionCount

int getJunctionCount()
                     throws java.io.IOException,
                            AutomationException
Returns the number of junction EIDs currently stored in the NALocationRanges object.

Returns:
The junctionCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addJunction

void addJunction(int junctionEID)
                 throws java.io.IOException,
                        AutomationException
Adds a junction EID to the NALocationRanges object.

Parameters:
junctionEID - The junctionEID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryJunction

void queryJunction(int index,
                   int[] junctionEID)
                   throws java.io.IOException,
                          AutomationException
Retrieves the junction EID stored at the specified index in the NALocationRanges object.

Parameters:
index - The index (in)
junctionEID - The junctionEID (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdgeRangeCount

int getEdgeRangeCount()
                      throws java.io.IOException,
                             AutomationException
Returns the number of edge ranges currently stored in the NALocationRanges object.

Returns:
The edgeRangeCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addEdgeRange

void addEdgeRange(int edgeEID,
                  int direction,
                  double fromPosition,
                  double toPosition)
                  throws java.io.IOException,
                         AutomationException
Adds an edge EID, as well as the direction and the specified range of positions along that edge, to the NALocationRanges object.

Parameters:
edgeEID - The edgeEID (in)
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryEdgeRange

void queryEdgeRange(int index,
                    int[] edgeEID,
                    int[] direction,
                    double[] fromPosition,
                    double[] toPosition)
                    throws java.io.IOException,
                           AutomationException
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.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all junction and edge information currently stored in the NALocationRanges object.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.