|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.NetworkEdge
public class NetworkEdge
COM Class 'NetworkEdge'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description 'A container for querying information on a network dataset edge element.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkEdge2 |
---|
DISPID_1610874881_GET_NAME, DISPID_1610874882_GET_NAME, DISPID_1610874883_GET_NAME, DISPID_1610874884_GET_NAME, DISPID_1610874885_NAME, DISPID_1610874886_GET_NAME, DISPID_1610874887_NAME, DISPID_210_GET_NAME, IID, IID97669d60_6fea_450d_aad4_a917f19fd420, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkEdge |
---|
DISPID_100_GET_NAME, DISPID_110_NAME, DISPID_130_GET_NAME, DISPID_140_GET_NAME, DISPID_150_GET_NAME, DISPID_160_GET_NAME, DISPID_170_GET_NAME, DISPID_180_NAME, DISPID_190_NAME, DISPID_200_NAME, IIDeadcd556_0857_41d9_9714_03b0dbb16dfb |
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkElement |
---|
DISPID_10_GET_NAME, DISPID_20_GET_NAME, DISPID_30_GET_NAME, DISPID_40_GET_NAME, DISPID_50_GET_NAME, DISPID_60_GET_NAME, IIDed843586_99b4_4e36_9684_5bec34938906 |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
NetworkEdge(java.lang.Object obj)
Construct a NetworkEdge using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.Object |
getAttributeValue(int attributeID)
Value of this network element for the given network attribute ID. |
java.lang.Object |
getAttributeValueAtTime(int attributeID,
java.util.Date localTime,
int timeUsage)
Value of this network element for the given network attribute ID and local time. |
java.lang.Object |
getAttributeValueByName(java.lang.String attributeName)
Value of this network element for the given network attribute name. |
int |
getCoveredEdgeCount()
Returns the number of edges covered by this edge. |
int |
getDirection()
Direction in which this network edge element is oriented relative to the direction of its source object. |
int |
getEID()
Element ID for this network element. |
int |
getElementType()
Type of this network element. |
double |
getFromAzimuth()
Direction of travel at the from-end of the network edge element. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getOID()
Object ID of the object corresponding to this network element. |
java.lang.Object |
getPartialEdgeAttributeValue(double fromPosition,
double toPosition,
int attributeID)
Value of this edge element along the given range for the given network attribute ID. |
java.lang.Object |
getPartialEdgeAttributeValueAtTime(double fromPosition,
double toPosition,
int attributeID,
java.util.Date localTime,
int timeUsage)
Value of this partial edge element for the given network attribute ID and local. |
double |
getPositionAlongObject(double positionAlongElement)
Position along the source object at which the specified position along the network edge element lies. |
int |
getSourceID()
ID of the network dataset source from which this network element was derived. |
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. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isHasCoveringHyperedge()
Indicates if the network edge element has a covering hyperedge. |
boolean |
isHyperedge()
Indicates if the network edge element is a hyperedge. |
void |
queryCoveredEdge(int index,
INetworkEdge edge)
Used to iterate over the edges covered by this edge. |
void |
queryCoveringHyperedge(INetworkEdge edge,
double[] fromPosition,
double[] toPosition)
Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge. |
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 |
release()
Release a NetworkEdge. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkEdge(java.lang.Object obj) throws java.io.IOException
obj
to NetworkEdge
. *
NetworkEdge o = (NetworkEdge)obj; // will not work
NetworkEdge o = new NetworkEdge(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
NetworkEdge theNetworkEdge = (NetworkEdge) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getEID() throws java.io.IOException, AutomationException
getEID
in interface INetworkElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getElementType() throws java.io.IOException, AutomationException
getElementType
in interface INetworkElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSourceID() throws java.io.IOException, AutomationException
getSourceID
in interface INetworkElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOID() throws java.io.IOException, AutomationException
getOID
in interface INetworkElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getAttributeValue(int attributeID) throws java.io.IOException, AutomationException
getAttributeValue
in interface INetworkElement
attributeID
- The attributeID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getAttributeValueByName(java.lang.String attributeName) throws java.io.IOException, AutomationException
getAttributeValueByName
in interface INetworkElement
attributeName
- The attributeName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDirection() throws java.io.IOException, AutomationException
getDirection
in interface INetworkEdge
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryPositions(double[] fromPosition, double[] toPosition) throws java.io.IOException, AutomationException
queryPositions
in interface INetworkEdge
fromPosition
- The fromPosition (out: use single element array)toPosition
- The toPosition (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getFromAzimuth() throws java.io.IOException, AutomationException
getFromAzimuth
in interface INetworkEdge
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getToAzimuth() throws java.io.IOException, AutomationException
getToAzimuth
in interface INetworkEdge
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTurnParticipationType() throws java.io.IOException, AutomationException
getTurnParticipationType
in interface INetworkEdge
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPositionAlongObject(double positionAlongElement) throws java.io.IOException, AutomationException
getPositionAlongObject
in interface INetworkEdge
positionAlongElement
- The positionAlongElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTurnCount() throws java.io.IOException, AutomationException
getTurnCount
in interface INetworkEdge
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryTurn(int index, INetworkTurn turn) throws java.io.IOException, AutomationException
queryTurn
in interface INetworkEdge
index
- The index (in)turn
- A reference to a com.esri.arcgis.geodatabase.INetworkTurn (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryEdgeInOtherDirection(INetworkEdge edge) throws java.io.IOException, AutomationException
queryEdgeInOtherDirection
in interface INetworkEdge
edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryJunctions(INetworkJunction fromJunction, INetworkJunction toJunction) throws java.io.IOException, AutomationException
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getPartialEdgeAttributeValue(double fromPosition, double toPosition, int attributeID) throws java.io.IOException, AutomationException
getPartialEdgeAttributeValue
in interface INetworkEdge2
fromPosition
- The fromPosition (in)toPosition
- The toPosition (in)attributeID
- The attributeID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getAttributeValueAtTime(int attributeID, java.util.Date localTime, int timeUsage) throws java.io.IOException, AutomationException
getAttributeValueAtTime
in interface INetworkEdge2
attributeID
- The attributeID (in)localTime
- The localTime (in)timeUsage
- A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getPartialEdgeAttributeValueAtTime(double fromPosition, double toPosition, int attributeID, java.util.Date localTime, int timeUsage) throws java.io.IOException, AutomationException
getPartialEdgeAttributeValueAtTime
in interface INetworkEdge2
fromPosition
- The fromPosition (in)toPosition
- The toPosition (in)attributeID
- The attributeID (in)localTime
- The localTime (in)timeUsage
- A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHyperedge() throws java.io.IOException, AutomationException
isHyperedge
in interface INetworkEdge2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasCoveringHyperedge() throws java.io.IOException, AutomationException
isHasCoveringHyperedge
in interface INetworkEdge2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryCoveringHyperedge(INetworkEdge edge, double[] fromPosition, double[] toPosition) throws java.io.IOException, AutomationException
queryCoveringHyperedge
in interface INetworkEdge2
edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)fromPosition
- The fromPosition (out: use single element array)toPosition
- The toPosition (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCoveredEdgeCount() throws java.io.IOException, AutomationException
getCoveredEdgeCount
in interface INetworkEdge2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryCoveredEdge(int index, INetworkEdge edge) throws java.io.IOException, AutomationException
queryCoveredEdge
in interface INetworkEdge2
index
- The index (in)edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |