com.esri.arcgis.networkanalyst
Interface INALocator2

All Superinterfaces:
INALocator, java.io.Serializable
All Known Subinterfaces:
INALocator3
All Known Implementing Classes:
INALocator2Proxy, INALocator3Proxy, NALocator

public interface INALocator2
extends INALocator, java.io.Serializable

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

Description: 'Provides access to properties that apply to all network locators.' 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 IID6a658ec8_139d_4b60_8765_c2504cd38d1a
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INALocator
IIDeca487a0_fce8_462c_8df2_37042db4591c
 
Method Summary
 INALocation geocodeLocation(java.lang.String address, ILocator addressLocator)
          The network location at the specified address.
 double getMaxSnapTolerance()
          The maximum distance that can be searched when expanding the snap tolerance.
 void queryOffsetPoint(INALocation location, double offset, int units, IPoint[] point)
          The point offset from a network location.
 java.lang.String reverseGeocodeLocation(INALocation location, ILocator addressLocator)
          The address of the network location.
 void setMaxSnapTolerance(double maxTolerance)
          The maximum distance that can be searched when expanding the snap tolerance.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INALocator
addLocatorAgent, bind, createDefault, getLocatorAgent, getLocatorAgentCount, getNetworkDataset, getOutputSpatialReference, getSnapTolerance, getSnapToleranceUnits, isFindClosestAmongAllAgents, queryLocationByPoint, queryLocationByRow, queryPoint, removeLocatorAgent, setFindClosestAmongAllAgents, setOutputSpatialReferenceByRef, setSnapTolerance, setSnapToleranceUnits
 

Field Detail

IID6a658ec8_139d_4b60_8765_c2504cd38d1a

static final int IID6a658ec8_139d_4b60_8765_c2504cd38d1a
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

getMaxSnapTolerance

double getMaxSnapTolerance()
                           throws java.io.IOException,
                                  AutomationException
The maximum distance that can be searched when expanding the snap tolerance. Has the same units as the snap tolerance.

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

setMaxSnapTolerance

void setMaxSnapTolerance(double maxTolerance)
                         throws java.io.IOException,
                                AutomationException
The maximum distance that can be searched when expanding the snap tolerance. Has the same units as the snap tolerance.

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

queryOffsetPoint

void queryOffsetPoint(INALocation location,
                      double offset,
                      int units,
                      IPoint[] point)
                      throws java.io.IOException,
                             AutomationException
The point offset from a network location.

Parameters:
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
offset - The offset (in)
units - A com.esri.arcgis.system.esriUnits constant (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reverseGeocodeLocation

java.lang.String reverseGeocodeLocation(INALocation location,
                                        ILocator addressLocator)
                                        throws java.io.IOException,
                                               AutomationException
The address of the network location. Honors side of street if the address locator does.

Parameters:
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
addressLocator - A reference to a com.esri.arcgis.geodatabase.ILocator (in)
Returns:
The address
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geocodeLocation

INALocation geocodeLocation(java.lang.String address,
                            ILocator addressLocator)
                            throws java.io.IOException,
                                   AutomationException
The network location at the specified address. Honors side of street if the address locator does.

Parameters:
address - The address (in)
addressLocator - A reference to a com.esri.arcgis.geodatabase.ILocator (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INALocation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.