|
|||||||||
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.INetworkTurnProxy
public class INetworkTurnProxy
Provides access to members that specify the properties of this network turn.
The INetworkTurn interface is used to access the properties of the network turn element, such as its turning angle.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetworkTurnProxy()
|
|
INetworkTurnProxy(Object obj)
|
protected |
INetworkTurnProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getAngle()
Angle of the turning movement described by this network turn. |
int |
getEdgeCount()
Number of network edge elements that participate in this network turn. |
int |
getTurnType()
Type of network turn. |
void |
queryAtJunction(INetworkJunction junction)
Queries the at-junction of this network turn. |
void |
queryEdge(int index,
INetworkEdge edge)
Queries the index'th edge element of this network turn. |
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 INetworkTurnProxy()
public INetworkTurnProxy(Object obj) throws IOException
IOException
protected INetworkTurnProxy(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 getTurnType() throws IOException, AutomationException
The TurnType property indicates whether or not this NetworkTurn is a turn element in the network.
If the TurnType is esriNTTImplicit, then this NetworkTurn represents an implicit turn. An implicit turn is a turning movement that is implied from two adjacent edge elements where there is no turn element in the network. An implicit turn can only be returned in a NetworkTurn object by the INetworkForwardStarAdjacencies::QueryTurn method.
If the TurnType is esriNTTExplicit, then this NetworkTurn represents a turn element in the network.
getTurnType
in interface INetworkTurn
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryAtJunction(INetworkJunction junction) throws IOException, AutomationException
The QueryAtJunction method retrieves the junction element that anchors this turn element. The anchor junction of a turn element is the junction connecting the last two edges that the turn traverses.
This method requires an instantiated NetworkJunction object to be passed in as a parameter. You can create an empty NetworkTurn object by using the INetworkQuery::CreateNetworkElement method.
queryAtJunction
in interface INetworkTurn
junction
- A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngle() throws IOException, AutomationException
The Angle property returns the turning angle of the turn. The turning angle is determined by the difference in the azimuth values of the first and last edge elements of the turn.
The value returned for Angle ranges from 0 to 360. The Angle in measured clockwise from straight in degrees. Below are sample Angle values:
getAngle
in interface INetworkTurn
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEdgeCount() throws IOException, AutomationException
The EdgeCount is the number of edge element that this turn traverses.
getEdgeCount
in interface INetworkTurn
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryEdge(int index, INetworkEdge edge) throws IOException, AutomationException
The QueryEdge method retrieves the edge element traversed by this turn at the specified index. The index values range from 0 to (EdgeCount - 1).
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 INetworkTurn
index
- The index (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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |