|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetElementBarriers
Provides access to members that specify a set of barriers for the TraceFlowSolver object.
Sets of junction barriers and edge barriers should be created seperately.
Use the INetElementBarriers 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 | |
---|---|
int |
getElementType()
Type of network element on which the barriers are placed. |
INetwork |
getNetwork()
Network on which the barrier set is placed. |
void |
setBarriers(int userClassID,
int count,
int[] userIDs)
Specifies a set of network features to use as barriers. |
void |
setElementType(int elementType)
Type of network element on which the barriers are placed. |
void |
setNetworkByRef(INetwork network)
Network on which the barrier set is placed. |
Method Detail |
---|
void setNetworkByRef(INetwork network) throws IOException, AutomationException
network
- A reference to a com.esri.arcgis.geodatabase.INetwork (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork getNetwork() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setElementType(int elementType) throws IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getElementType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBarriers(int userClassID, int count, int[] userIDs) throws IOException, AutomationException
The Network and ElementType properties must be set before calling SetBarriers.
This method is not callable from Java. Please use INetElementBarriersGEN::SetBarriers.
userClassID
- The userClassID (in)count
- The count (in)userIDs
- The userIDs (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 |