|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.ForwardStar
public class ForwardStar
A container for querying information about adjacent elements in the logical network.
Constructor Summary | |
---|---|
ForwardStar(Object obj)
Construct a ForwardStar using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
findAdjacent(int fromEdgeEID,
int atJunctionEID,
int[] adjacentEdgesCount)
Finds the edge elements that are adjacent to the given junction element and returns the count. |
INetwork |
getNetwork()
Underlying network of this forward star cursor. |
int |
hashCode()
the hashcode for this object |
void |
queryAdjacentEdge(int index,
int[] adjacentEdgeEID,
boolean[] reverseOrientation,
Object[] adjacentEdgeWeightValue)
Returns index'th adjacent edge found with FindAdjacent, its orientation, and its weight value. |
void |
queryAdjacentEdges(int[][] adjacentEdgeEIDs,
boolean[][] reverseOrientation,
Object[][] adjacentEdgesWeightValue)
Returns the adjacent edges found with FindAdjacent into the specified user-defined array. |
void |
queryAdjacentEdges(int count,
int[] adjacentEdgeEIDs,
boolean[] reverseOrientation,
Object[] adjacentEdgesWeightValue)
Returns the adjacent edges found with FindAdjacent into the specified user-defined array. |
void |
queryAdjacentJunction(int index,
int[] adjacentJunctionEID,
Object[] adjacentJunctionWeightValue)
Returns the opposite junction of the index'th adjacent edge found with FindAdjacent, and the weight value for this junction. |
void |
queryAdjacentJunctions(int[][] adjacentJunctionEIDs,
Object[][] adjacentJunctionsWeightValue)
Returns the opposite junctions of the adjacent edges found with FindAdjacent into the specified user-defined array. |
void |
queryAdjacentJunctions(int count,
int[] adjacentJunctionEIDs,
Object[] adjacentJunctionsWeightValue)
Returns the opposite junctions of the adjacent edges found with FindAdjacent into the specified user-defined array. |
void |
queryAtTurn(int index,
int[] adjacentTurnEID,
Object[] adjacentTurnWeightValue)
Returns the turn through which the index'th adjacent edge found with FindAdjacent passes, and the weight value of the turn. |
void |
queryAtTurns(int count,
int[] adjacentTurnEIDs,
Object[] adjacentTurnsWeightValue)
Returns the turns through which the adjacent edges found with FindAdjacent passes into the user-defined array. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ForwardStar(Object obj) throws IOException
obj
to ForwardStar
. *
ForwardStar o = (ForwardStar)obj; // will not work
ForwardStar o = new ForwardStar(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ForwardStar theForwardStar = (ForwardStar) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public INetwork getNetwork() throws IOException, AutomationException
getNetwork
in interface IForwardStar
getNetwork
in interface IForwardStarGEN
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
IForwardStar.queryAtTurn(int, int[], Object[])
public void findAdjacent(int fromEdgeEID, int atJunctionEID, int[] adjacentEdgesCount) throws IOException, AutomationException
findAdjacent
in interface IForwardStar
findAdjacent
in interface IForwardStarGEN
fromEdgeEID
- The fromEdgeEID (in)atJunctionEID
- The atJunctionEID (in)adjacentEdgesCount
- The adjacentEdgesCount (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
IForwardStar.queryAtTurn(int, int[], Object[])
public void queryAdjacentJunction(int index, int[] adjacentJunctionEID, Object[] adjacentJunctionWeightValue) throws IOException, AutomationException
queryAdjacentJunction
in interface IForwardStar
queryAdjacentJunction
in interface IForwardStarGEN
index
- The index (in)adjacentJunctionEID
- The adjacentJunctionEID (out: use single element array)adjacentJunctionWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
IForwardStar.queryAtTurn(int, int[], Object[])
public void queryAdjacentEdge(int index, int[] adjacentEdgeEID, boolean[] reverseOrientation, Object[] adjacentEdgeWeightValue) throws IOException, AutomationException
queryAdjacentEdge
in interface IForwardStar
queryAdjacentEdge
in interface IForwardStarGEN
index
- The index (in)adjacentEdgeEID
- The adjacentEdgeEID (out: use single element array)reverseOrientation
- The reverseOrientation (out: use single element array)adjacentEdgeWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
IForwardStar.queryAtTurn(int, int[], Object[])
public void queryAtTurn(int index, int[] adjacentTurnEID, Object[] adjacentTurnWeightValue) throws IOException, AutomationException
queryAtTurn
in interface IForwardStar
queryAtTurn
in interface IForwardStarGEN
index
- The index (in)adjacentTurnEID
- The adjacentTurnEID (out: use single element array)adjacentTurnWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
IForwardStar.queryAtTurn(int, int[], Object[])
public void queryAdjacentJunctions(int[][] adjacentJunctionEIDs, Object[][] adjacentJunctionsWeightValue) throws IOException, AutomationException
queryAdjacentJunctions
in interface IForwardStarGEN
adjacentJunctionEIDs
- The adjacentJunctionEIDs (in/out: use single element array)adjacentJunctionsWeightValue
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryAdjacentEdges(int[][] adjacentEdgeEIDs, boolean[][] reverseOrientation, Object[][] adjacentEdgesWeightValue) throws IOException, AutomationException
queryAdjacentEdges
in interface IForwardStarGEN
adjacentEdgeEIDs
- The adjacentEdgeEIDs (in/out: use single element array)reverseOrientation
- The reverseOrientation (in/out: use single element array)adjacentEdgesWeightValue
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryAdjacentJunctions(int count, int[] adjacentJunctionEIDs, Object[] adjacentJunctionsWeightValue) throws IOException, AutomationException
queryAdjacentJunctions
in interface IForwardStar
count
- The count (in)adjacentJunctionEIDs
- The adjacentJunctionEIDs (out: use single element array)adjacentJunctionsWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
This method is not callable from Java. Please use IForwardStarGEN::QueryAdjacentJunctions.
public void queryAdjacentEdges(int count, int[] adjacentEdgeEIDs, boolean[] reverseOrientation, Object[] adjacentEdgesWeightValue) throws IOException, AutomationException
queryAdjacentEdges
in interface IForwardStar
count
- The count (in)adjacentEdgeEIDs
- The adjacentEdgeEIDs (out: use single element array)reverseOrientation
- The reverseOrientation (out: use single element array)adjacentEdgesWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
This method is not callable from Java. Please use IForwardStarGEN::QueryAdjacentEdges.
public void queryAtTurns(int count, int[] adjacentTurnEIDs, Object[] adjacentTurnsWeightValue) throws IOException, AutomationException
queryAtTurns
in interface IForwardStar
count
- The count (in)adjacentTurnEIDs
- The adjacentTurnEIDs (out: use single element array)adjacentTurnsWeightValue
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetwork.createForwardStar(boolean, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight, com.esri.arcgis.geodatabase.INetWeight)
,
IForwardStar.queryAdjacentEdge(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunction(int, int[], Object[])
,
IForwardStar.getNetwork()
,
IForwardStar.findAdjacent(int, int, int[])
,
IForwardStar.queryAtTurns(int, int[], Object[])
,
IForwardStar.queryAdjacentEdges(int, int[], boolean[], Object[])
,
IForwardStar.queryAdjacentJunctions(int, int[], Object[])
,
This method is not callable from Java. Please use IForwardStarGEN::QueryAtTurns.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |