|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalNetNode
A LogicalNetNode is a LogicalNode with reference to adjacent node and link objects.
Method Summary | |
---|---|
void |
addInLink(LogicalNetLink link) Adds an incoming link to this node. |
void |
addOutLink(LogicalNetLink link) Adds an outgoing link to this node. |
long[] |
getAdjacentNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link to or from this node. |
LogicalNetLink[] |
getIncidentLinks(boolean activeOnly) Returns the IDs of all the links incident to this node. |
LogicalNetLink[] |
getInLinks(boolean activeOnly) Returns the array of incoming links to this node. |
long[] |
getNextNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link from this node. |
int |
getNumberOfInLinks() Returns the number of incoming links. |
int |
getNumberOfOutLinks() Returns the number of outgoing links. |
LogicalNetLink[] |
getOutLinks(boolean activeOnly) Returns the array of outgoing links from this node. |
long[] |
getPreviousNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link to this node. |
void |
removeInLink(long linkId) Removes the incoming link with the specified link ID. |
void |
removeOutLink(long linkId) Removes the outgoing link with the specified link ID. |
LogicalNode |
toStandAloneNode() Returns a new instance of a standalone node, which has the same properties as this node. |
Methods inherited from interface oracle.spatial.network.lod.LogicalNode |
---|
getCost, getId, getUserData, getUserData, isActive, setCost, setIsActive, setUserData, setUserData, update |
Method Detail |
---|
LogicalNetLink[] getInLinks(boolean activeOnly)
LogicalNetLink[] getOutLinks(boolean activeOnly)
int getNumberOfInLinks()
int getNumberOfOutLinks()
void addInLink(LogicalNetLink link)
link
- incoming linkvoid addOutLink(LogicalNetLink link)
link
- outgoing linkLogicalNetLink[] getIncidentLinks(boolean activeOnly)
long[] getPreviousNodeIds(boolean activeOnly)
long[] getNextNodeIds(boolean activeOnly)
long[] getAdjacentNodeIds(boolean activeOnly)
void removeInLink(long linkId)
linkId
- link IDvoid removeOutLink(long linkId)
linkId
- link IDLogicalNode toStandAloneNode()
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |