|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INetElementBarriers2
Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object.
Sets of junction barriers and edge barriers should be created seperately.
Use the INetElementBarriers2 interface to create a set of barriers to pass to the TraceFlowSolver object.
Barriers are stopping points affecting a trace. For example, a downed powerline can be a barrier that affects a trace. Barriers do not affect the flow through a network. If you want to change the flow through a stand-alone logical network you can disable individual elements using the INetAttributesEdit::SetDisabledState method. For geometric networks, set the INetworkFeature::Enabled property to False.
Not all members are callable from Java. Please use INetElementBarriersGEN instead.
| Method Summary | |
|---|---|
void |
setBarriersByEID(int count,
int[] eIDs)
Specifies a set of network element IDs to use as barriers. |
| Methods inherited from interface com.esri.arcgis.networkanalysis.INetElementBarriers |
|---|
getElementType, getNetwork, setBarriers, setElementType, setNetworkByRef |
| Method Detail |
|---|
void setBarriersByEID(int count,
int[] eIDs)
throws IOException,
AutomationException
The Network and ElementType properties must be set before calling SetBarriersByEID.
If there are values in the array that do not correspond to a valid EID in the specified Network, then the NetElementBarriers object simply ignores these values.
This method is not callable from Java. Please use INetElementBarriersGEN::SetBarriersByEID.
count - The count (in)eIDs - The eIDs (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 | ||||||||