|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INALocationObject
Provides access to network analysis locations.
The INALocationObject interface is used to manage the four network location fields on NALocationObject and NALocationFeature objects.
| Method Summary | |
|---|---|
INALocation |
getNALocation()
The network analysis location. |
void |
queryNALocation(INALocation location)
Returns the network location. |
void |
setNALocation(INALocation location)
The network analysis location. |
| Method Detail |
|---|
void setNALocation(INALocation location)
throws IOException,
AutomationException
The NALocation property specifies the "SourceID", "SourceOID", "PosAlong", and "SideOfEdge" fields of the NALocationObject/NALocationFeature.
You must still call Store on the IRow or IFeature interface after setting the NALocation property in order for these changes to be saved in the database.
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INALocation getNALocation()
throws IOException,
AutomationException
The NALocation property specifies the "SourceID", "SourceOID", "PosAlong", and "SideOfEdge" fields of the NALocationObject/NALocationFeature.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryNALocation(INALocation location)
throws IOException,
AutomationException
Calling QueryNALocation populates the NALocation object that is passed in as a parameter with values found in the "SourceID", "SourceOID", "PosAlong", and "SideOfEdge" fields of the NALocationObject/NALocationFeature.
Use this method rather than using the NALocation property when you aren't referencing multiple network locations and can use recycling semantics. This will improve overall performance since fewer objects will need to be created.
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
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 | ||||||||