|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.INetworkElementProxy com.esri.arcgis.geodatabase.INetworkJunctionProxy
public class INetworkJunctionProxy
Provides access to members that specify the properties of this network junction element.
The INetworkJunction interface is used to query the network junction element for other network elements adjacent to it.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetworkJunctionProxy()
|
|
INetworkJunctionProxy(Object obj)
|
protected |
INetworkJunctionProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getEdgeCount()
Number of network edge elements adjacent to this network junction element. |
int |
getTurnCount()
Number of network turn elements anchored at this network junction. |
void |
queryEdge(int index,
boolean leavingJunction,
INetworkEdge edge)
Queries the index'th network edge element adjacent to this network junction element. |
void |
queryPoint(IPoint point)
Queries the point object corresponding to this network junction element. |
void |
queryTurn(int index,
INetworkTurn turn)
Queries the index'th network turn element anchored at this network junction element. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.INetworkElementProxy |
---|
getAttributeValue, getAttributeValueByName, getEID, getElementType, getOID, getSourceID |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkElement |
---|
getAttributeValue, getAttributeValueByName, getEID, getElementType, getOID, getSourceID |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetworkJunctionProxy()
public INetworkJunctionProxy(Object obj) throws IOException
IOException
protected INetworkJunctionProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class INetworkElementProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class INetworkElementProxy
IOException
public int getEdgeCount() throws IOException, AutomationException
The EdgeCount is the number of adjacent edge elements leaving this junction.
getEdgeCount
in interface INetworkJunction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTurnCount() throws IOException, AutomationException
The TurnCount is the number of turn elements that are anchored to this junction. A turn element is anchored at a junction if the last two edges of the turn pass through the junction.
getTurnCount
in interface INetworkJunction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryEdge(int index, boolean leavingJunction, INetworkEdge edge) throws IOException, AutomationException
The QueryEdge method retrieves the edge element adjacent to this junction at the specified index. The index values range from 0 to (EdgeCount - 1).
The leavingJunction parameter determines in which travel direction the edge element is returned. If the leavingJunction parameter is True, then the edge element returned is the element that travels in the direction away from the junction.
This method requires an instantiated NetworkEdge object to be passed in as a parameter. You can create an empty NetworkEdge object by using the INetworkQuery::CreateNetworkElement method.
queryEdge
in interface INetworkJunction
index
- The index (in)leavingJunction
- The leavingJunction (in)edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryTurn(int index, INetworkTurn turn) throws IOException, AutomationException
The QueryTurn method retrieves the turn element anchored to this junction at the specified index. A turn element is anchored at a junction if the last two edges of the turn pass through the junction. The index values range from 0 to (TurnCount - 1).
This method requires an instantiated NetworkTurn object to be passed in as a parameter. You can create an empty NetworkTurn object by using the INetworkQuery::CreateNetworkElement method.
queryTurn
in interface INetworkJunction
index
- The index (in)turn
- A reference to a com.esri.arcgis.geodatabase.INetworkTurn (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryPoint(IPoint point) throws IOException, AutomationException
The QueryPoint method retrieves the Point geometry associated with this junction element.
This method requires an instantiated Point object to be passed in as a parameter.
On an SDC network dataset, QueryPoint returns an empty Point object for junction elements that do not connect to any edges (i.e., have an EdgeCount of zero).
queryPoint
in interface INetworkJunction
point
- A reference to a com.esri.arcgis.geometry.IPoint (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 |