|
|||||||||
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.INetworkEdgeProxy
public class INetworkEdgeProxy
Provides access to members that specify the properties of this network edge element.
The INetworkEdge interface is used to access the properties of the network edge element, such as its direction of travel and azimuth values.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetworkEdgeProxy()
|
|
INetworkEdgeProxy(Object obj)
|
protected |
INetworkEdgeProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getDirection()
Direction in which this network edge element is oriented relative to the direction of its source object. |
double |
getFromAzimuth()
Direction of travel at the from-end of the network edge element. |
double |
getPositionAlongObject(double positionAlongElement)
Position along the source object at which the specified position along the network edge element lies. |
double |
getToAzimuth()
Direction of travel at the to-end of the network edge element. |
int |
getTurnCount()
Number of network turn elements in which this network edge element participates. |
int |
getTurnParticipationType()
Participation of this network edge element within a network turn element. |
void |
queryEdgeInOtherDirection(INetworkEdge edge)
Queries the network edge element corresponding to the reverse traversal of this network edge element. |
void |
queryJunctions(INetworkJunction fromJunction,
INetworkJunction toJunction)
Queries the network junction elements adjacent to this network edge element. |
void |
queryPositions(double[] fromPosition,
double[] toPosition)
Queries the positions along the source object at which the from-end and to-end of the network edge element lies. |
void |
queryTurn(int index,
INetworkTurn turn)
Queries the index'th network turn element in which this network edge element participates. |
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 INetworkEdgeProxy()
public INetworkEdgeProxy(Object obj) throws IOException
IOException
protected INetworkEdgeProxy(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 getDirection() throws IOException, AutomationException
The Direction property returns the direction of travel along this edge element relative to the digitized direction of the source feature. The direction of travel is either esriNEDAlongDigitized, meaning the direction of travel along the edge element is the same as the feature's direction of digitization, or esriNEDAgainstDigitized, meaning the direction of travel along the edge element is the opposite of the feature's direction of digitization.
getDirection
in interface INetworkEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryPositions(double[] fromPosition, double[] toPosition) throws IOException, AutomationException
The QueryPositions method queries the positional values along the source feature from which this edge element was created. The position values range from 0.0 to 1.0, where 0.0 is at the from-end of the feature and 1.0 is at the to-end of the feature.
If the Direction property is esriNEDAlongDigitized, then the fromPosition value will be less than or equal to the toPositionValue. If the Direction property is esriNEDAgainstDigitized, then the fromPosition value will be greater than or equal to the toPositionValue.
queryPositions
in interface INetworkEdge
fromPosition
- The fromPosition (out: use single element array)toPosition
- The toPosition (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getFromAzimuth() throws IOException, AutomationException
The FromAzimuth property indicates the direction of travel at the starting end of the edge element. For edge elements generated by an EdgeFeatureSource, the FromAzimuth and ToAzimuth values are measured clockwise in degrees relative to the positive Y-axis direction of the spatial reference of the network dataset.
getFromAzimuth
in interface INetworkEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getToAzimuth() throws IOException, AutomationException
The ToAzimuth property indicates the direction of travel at the terminating end of the edge element. For edge elements generated by an EdgeFeatureSource, the FromAzimuth and ToAzimuth values are measured clockwise in degrees relative to the positive Y-axis direction of the spatial reference of the network dataset.
getToAzimuth
in interface INetworkEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTurnParticipationType() throws IOException, AutomationException
getTurnParticipationType
in interface INetworkEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPositionAlongObject(double positionAlongElement) throws IOException, AutomationException
getPositionAlongObject
in interface INetworkEdge
positionAlongElement
- The positionAlongElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTurnCount() throws IOException, AutomationException
The TurnCount property returns the number of turn elements that traverse this edge.
getTurnCount
in interface INetworkEdge
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 that traverses this edge at the specified index. The index values range from 0 to (TurnCount - 1).
The QueryTurn 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 INetworkEdge
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 queryEdgeInOtherDirection(INetworkEdge edge) throws IOException, AutomationException
The QueryEdgeInOtherDirection method retrieves the edge element in the opposite direction of travel as this edge.
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.
queryEdgeInOtherDirection
in interface INetworkEdge
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 queryJunctions(INetworkJunction fromJunction, INetworkJunction toJunction) throws IOException, AutomationException
The QueryJunctions method retrieves the junction elements at the ends of this edge element.
This method requires two instantiated NetworkJunction objects to be passed in as a parameter. You can create an empty NetworkJunction object by using the INetworkQuery::CreateNetworkElement method.
queryJunctions
in interface INetworkEdge
fromJunction
- A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)toJunction
- A reference to a com.esri.arcgis.geodatabase.INetworkJunction (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 |