Package oracle.spatial.network.lod
Interface PathFeature
-
- All Superinterfaces:
Feature
- All Known Implementing Classes:
PathFeatureImpl
public interface PathFeature extends Feature
A feature representing a path on a network.- Since:
- 12.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.spatial.network.lod.Feature
Feature.FeatureType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
clone()
Support cloneableCategorizedUserData
getCategorizedUserData()
Returns categorized user data.double[]
getCosts()
Returns the costs of the path.UserData
getUserData(int category)
Returns user data for the specified category.boolean
isReverse()
Whether the path is a reverse path.void
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.void
setUserData(int category, UserData userData)
Sets user data for the specified category.-
Methods inherited from interface oracle.spatial.network.lod.Feature
addElement, addElements, deleteElement, findElement, getElement, getElements, getId, getNumberOfElements, getType, setElement
-
-
-
-
Method Detail
-
getCosts
double[] getCosts()
Returns the costs of the path.- Returns:
-
isReverse
boolean isReverse()
Whether the path is a reverse path. A reverse path is usually generated by a backward search.- Returns:
-
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.CloneNotSupportedException
Support cloneable- Returns:
- cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-