public interface LogicalLightSubPath
LogicalLightPath
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Support cloneable
|
CategorizedUserData |
getCategorizedUserData()
Returns categorized user data.
|
double |
getCost()
Deprecated.
use getCosts();
|
double[] |
getCosts()
Returns the costs of the subpath.
|
int |
getEndLinkIndex()
Returns the end link index.
|
double |
getEndPercentage()
Returns the location of the end point of the subpath as a percentage of the last link of the containing path.
|
LogicalLightPath |
getReferenceLightPath()
Returns the path containing the subpath.
|
int |
getStartLinkIndex()
Returns the start link index.
|
double |
getStartPercentage()
Returns the location of the starting point of the subpath as a percentage of the first link of the containing path.
|
UserData |
getUserData(int category)
Returns user data for the specified category.
|
boolean |
isFullPath()
Returns true if the subpath covers the entire reference path.
|
void |
reverse()
Reverses the sub-path, and flip the isReverse flag of the reference path.
|
void |
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
|
void |
setCosts(double[] costs)
Sets the costs of the subpath.
|
void |
setEndLinkIndex(int endLinkIndex)
Sets the end link index.
|
void |
setEndPercentage(double endPercentage)
Sets the location of the end point of the subpath as a percentage of the last link of the containing path.
|
void |
setReferenceLightPath(LogicalLightPath refPath)
Sets the path containing the subpath.
|
void |
setStartLinkIndex(int startLinkIndex)
Sets the start link index.
|
void |
setStartPercentage(double startPercentage)
Sets the location of the starting point of the subpath as a percentage of the first link of the containing path.
|
void |
setUserData(int category, UserData userData)
Sets user data for the specified category.
|
LogicalLightPath getReferenceLightPath()
double getStartPercentage()
double getEndPercentage()
int getStartLinkIndex()
int getEndLinkIndex()
double getCost()
double[] getCosts()
void setReferenceLightPath(LogicalLightPath refPath)
void setStartPercentage(double startPercentage)
void setEndPercentage(double endPercentage)
void setStartLinkIndex(int startLinkIndex)
void setEndLinkIndex(int endLinkIndex)
void setCosts(double[] costs)
boolean isFullPath()
void reverse()
CategorizedUserData getCategorizedUserData()
void setCategorizedUserData(CategorizedUserData userData)
userData
-UserData getUserData(int category)
void setUserData(int category, UserData userData)
userData
-java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException