Package oracle.spatial.network.lod
Interface LogicalSubPath
-
- All Superinterfaces:
java.lang.Comparable,LogicalLightSubPath
- All Known Subinterfaces:
SpatialSubPath
- All Known Implementing Classes:
LogicalSubPathImpl,SpatialSubPathImpl
public interface LogicalSubPath extends LogicalLightSubPath
LogicalSubPath represents a portion of a LogicalPath, with the start and/or end points located on links of the the containing path.- Since:
- 11gR1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogicalSubPathappend(LogicalSubPath subPath)Appends a subpath to this subpath.java.lang.Objectclone()Support cloneableCategorizedUserDatagetCategorizedUserData()Returns categorized user data.double[]getCostsToNode(int nodeIndex)Returns the cumulative costs from the start point to the input node.LogicalPathgetReferencePath()Returns the path containing the subpath.UserDatagetUserData(int category)Returns user data for the specified category.voidsetCategorizedUserData(CategorizedUserData userData)Sets categorized user data.voidsetUserData(int category, UserData userData)Sets user data for the specified category.-
Methods inherited from interface oracle.spatial.network.lod.LogicalLightSubPath
getCost, getCosts, getEndLinkIndex, getEndPercentage, getReferenceLightPath, getStartLinkIndex, getStartPercentage, isFullPath, reverse, setCosts, setEndLinkIndex, setEndPercentage, setReferenceLightPath, setStartLinkIndex, setStartPercentage
-
-
-
-
Method Detail
-
getReferencePath
LogicalPath getReferencePath()
Returns the path containing the subpath.- Returns:
- the logical path that contains the subpath
-
getCostsToNode
double[] getCostsToNode(int nodeIndex)
Returns the cumulative costs from the start point to the input node.- Parameters:
nodeIndex-- Returns:
-
append
LogicalSubPath append(LogicalSubPath subPath) throws LODNetworkException
Appends a subpath to this subpath.- Parameters:
subPath-- Returns:
- Throws:
LODNetworkException
-
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
-
-