Package oracle.spatial.network.lod
Interface LogicalLightPath
-
- All Known Subinterfaces:
LogicalPath,SpatialPath
public interface LogicalLightPathLight-weight logical path, which only contains the start and end node IDs on the path.- Since:
- 11gR2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectclone()Support cloneableCategorizedUserDatagetCategorizedUserData()Returns categorized user data.doublegetCost()Deprecated.use getCosts()double[]getCosts()Returns the costs of this path.longgetEndNodeId()Returns the end node ID of this path.longgetFirstLinkId()Returns the ID of the first link on this path.longgetLastLinkId()Returns the ID of the last link on this path.intgetNumberOfLinks()Returns the number of links on this path.intgetNumberOfNodes()Returns the number of nodes on this path.longgetStartNodeId()Returns the start node ID of this path.UserDatagetUserData(int category)Returns user data for the specified category.booleanisReverse()Returns false if the path is represented in the traveling direction; Returns true if the path is represented in the reverse direction.voidreverse()Reverses node and link order of this path, and flip the isReverse flag of the path.voidsetCategorizedUserData(CategorizedUserData userData)Sets categorized user data.voidsetCosts(double[] costs)Sets the costs of the path.voidsetUserData(int category, UserData userData)Sets user data for the specified category.
-
-
-
Method Detail
-
getCost
double getCost()
Deprecated.use getCosts()Returns the primary cost of this path.- Returns:
- primary cost of the path
-
getCosts
double[] getCosts()
Returns the costs of this path.- Returns:
- costs of the path
-
setCosts
void setCosts(double[] costs)
Sets the costs of the path.- Parameters:
costs-
-
getStartNodeId
long getStartNodeId()
Returns the start node ID of this path.- Returns:
- start node ID
-
getEndNodeId
long getEndNodeId()
Returns the end node ID of this path.- Returns:
- end node ID
-
getFirstLinkId
long getFirstLinkId()
Returns the ID of the first link on this path.- Returns:
- ID of the first link
-
getLastLinkId
long getLastLinkId()
Returns the ID of the last link on this path.- Returns:
- ID of the last link
-
getNumberOfNodes
int getNumberOfNodes()
Returns the number of nodes on this path.- Returns:
- number of nodes
-
getNumberOfLinks
int getNumberOfLinks()
Returns the number of links on this path.- Returns:
- number of links
-
isReverse
boolean isReverse()
Returns false if the path is represented in the traveling direction; Returns true if the path is represented in the reverse direction. The nodes and links of a reverse path are listed in reverse order w.r.t the traveling direction.- Returns:
-
reverse
void reverse()
Reverses node and link order of this path, and flip the isReverse flag of the path.- Parameters:
newStartNodeCosts-oldStartNodeCosts-
-
getCategorizedUserData
CategorizedUserData getCategorizedUserData()
Returns categorized user data.- Returns:
-
setCategorizedUserData
void setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.- Parameters:
userData-
-
getUserData
UserData getUserData(int category)
Returns user data for the specified category.- Returns:
-
setUserData
void setUserData(int category, UserData userData)Sets user data for the specified category.- Parameters:
userData-
-
clone
java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionSupport cloneable- Returns:
- cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-