Package oracle.spatial.network
Interface TreeLink
-
- All Superinterfaces:
java.lang.Cloneable
,java.io.Serializable
public interface TreeLink extends java.lang.Cloneable, java.io.Serializable
This 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 double
getCost()
Returns the link costdouble
getDuration()
Returns the sum of duration from root node to this nodedouble
getEndPercentage()
Returns the end percentage of the link if the tree link is a partial linkJGeometry
getGeometry()
Returns the geometry of the tree linkLink
getLink()
Returns the link.double
getStartPercentage()
Returns the start percentage of the link if the tree link is a partial linkboolean
isPartialLink()
If the tree link is a partial link?boolean
isRegularLink()
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
-
-