Package oracle.spatial.network
Interface TreeLink
-
- All Superinterfaces:
java.lang.Cloneable,java.io.Serializable
public interface TreeLink extends java.lang.Cloneable, java.io.SerializableThis interface defines a tree link for trace-out. Note the tree links can either regular links or partial links (defined by a start and an end percentages)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetCost()Returns the link costdoublegetDuration()Returns the sum of duration from root node to this nodedoublegetEndPercentage()Returns the end percentage of the link if the tree link is a partial linkJGeometrygetGeometry()Returns the geometry of the tree linkLinkgetLink()Returns the link.doublegetStartPercentage()Returns the start percentage of the link if the tree link is a partial linkbooleanisPartialLink()If the tree link is a partial link?booleanisRegularLink()if the tree link is a regular link
-
-
-
Method Detail
-
isPartialLink
boolean isPartialLink()
If the tree link is a partial link?
-
isRegularLink
boolean isRegularLink()
if the tree link is a regular link
-
getLink
Link getLink()
Returns the link.
-
getStartPercentage
double getStartPercentage()
Returns the start percentage of the link if the tree link is a partial link
-
getEndPercentage
double getEndPercentage()
Returns the end percentage of the link if the tree link is a partial link
-
getCost
double getCost()
Returns the link cost
-
getGeometry
JGeometry getGeometry()
Returns the geometry of the tree link
-
getDuration
double getDuration()
Returns the sum of duration from root node to this node- Returns:
- sum of duration
-
-