|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INALocatorAgent2
Provides access to properties common to all locator agents.
The INALocatorAgent2 interface contains methods common to all locator agents. In addition to the methods on INALocatorAgent, INALocatorAgent2 includes a method to get the network location's source feature's geometry.
| Method Summary | |
|---|---|
void |
queryGeometry(INALocation location,
IGeometry[] geometry)
The geometry for the given network location. |
| Methods inherited from interface com.esri.arcgis.networkanalyst.INALocatorAgent |
|---|
bind, getName, queryLocationByPoint, queryLocationByRow, queryPoint |
| Method Detail |
|---|
void queryGeometry(INALocation location,
IGeometry[] geometry)
throws IOException,
AutomationException
QueryGeometry is used to get the source feature geometry of the network location. For example, if a network location is referencing a position along a line feature, the line feature's Polyline geometry will be returned by this method.
The INALocation must already be located, in which case INALocation::IsLocated returns true.
When QueryGeometry is called from a NALocatorFeatureAgent class, the INALocation::SourceID must match the SourceID of the NALocatorFeatureAgent.
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in/out: use single element array)
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 | ||||||||