|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INALocator
COM Interface 'INALocator'. 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 |
IIDeca487a0_fce8_462c_8df2_37042db4591c
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
void |
addLocatorAgent(INALocatorAgent locatorAgent)
Add a locator agent. |
void |
bind(INetworkDataset pNetworkDataset,
IGPMessages pGPMessages)
Re-associate the locators with the given network dataset and its schema. |
void |
createDefault(IDENetworkDataset network)
Make the default locators. |
INALocatorAgent |
getLocatorAgent(int index)
The locator agent by index. |
int |
getLocatorAgentCount()
The number of locator agents added. |
INetworkDataset |
getNetworkDataset()
The associated network dataset. |
ISpatialReference |
getOutputSpatialReference()
The spatial reference for points returned by the locator. |
double |
getSnapTolerance()
The distance to search. |
int |
getSnapToleranceUnits()
The units of the snap tolerance. |
boolean |
isFindClosestAmongAllAgents()
Indicates if the closest location (only) should be returned. |
void |
queryLocationByPoint(IPoint point,
INALocation[] location,
IPoint[] outPoint,
double[] distanceFromPoint)
Use the locator agents to find a network location from a point. |
void |
queryLocationByRow(IRow row,
INALocation[] location,
double[] distanceFromRow)
Use the locator agents to find a network location from a row. |
void |
queryPoint(INALocation location,
IPoint[] point)
The point for a network location. |
void |
removeLocatorAgent(int index)
Remove a locator agent by index. |
void |
setFindClosestAmongAllAgents(boolean findClosest)
Indicates if the closest location (only) should be returned. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference for points returned by the locator. |
void |
setSnapTolerance(double tolerance)
The distance to search. |
void |
setSnapToleranceUnits(int units)
The units of the snap tolerance. |
Field Detail |
---|
static final int IIDeca487a0_fce8_462c_8df2_37042db4591c
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
INetworkDataset getNetworkDataset() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapTolerance(double tolerance) throws java.io.IOException, AutomationException
tolerance
- The tolerance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSnapTolerance() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapToleranceUnits(int units) throws java.io.IOException, AutomationException
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSnapToleranceUnits() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFindClosestAmongAllAgents(boolean findClosest) throws java.io.IOException, AutomationException
findClosest
- The findClosest (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFindClosestAmongAllAgents() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLocatorAgentCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INALocatorAgent getLocatorAgent(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createDefault(IDENetworkDataset network) throws java.io.IOException, AutomationException
network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLocatorAgent(INALocatorAgent locatorAgent) throws java.io.IOException, AutomationException
locatorAgent
- A reference to a com.esri.arcgis.networkanalyst.INALocatorAgent (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeLocatorAgent(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryLocationByPoint(IPoint point, INALocation[] location, IPoint[] outPoint, double[] distanceFromPoint) throws java.io.IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)location
- A reference to a com.esri.arcgis.networkanalyst.INALocation (in/out: use single element array)outPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in/out: use single element array)distanceFromPoint
- The distanceFromPoint (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryLocationByRow(IRow row, INALocation[] location, double[] distanceFromRow) throws java.io.IOException, AutomationException
row
- A reference to a com.esri.arcgis.geodatabase.IRow (in)location
- A reference to a com.esri.arcgis.networkanalyst.INALocation (in/out: use single element array)distanceFromRow
- The distanceFromRow (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryPoint(INALocation location, IPoint[] point) throws java.io.IOException, AutomationException
location
- A reference to a com.esri.arcgis.networkanalyst.INALocation (in)point
- A reference to a com.esri.arcgis.geometry.IPoint (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void bind(INetworkDataset pNetworkDataset, IGPMessages pGPMessages) throws java.io.IOException, AutomationException
pNetworkDataset
- A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)pGPMessages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOutputSpatialReferenceByRef(ISpatialReference spatialReference) throws java.io.IOException, AutomationException
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISpatialReference getOutputSpatialReference() throws java.io.IOException, AutomationException
java.io.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 |