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
 double getCost()
          Returns the link cost
 double getDuration()
          Returns the sum of duration from root node to this node
 double getEndPercentage()
          Returns the end percentage of the link if the tree link is a partial link
 oracle.spatial.geometry.JGeometry getGeometry()
          Returns the geometry of the tree link
 Link getLink()
          Returns the link.
 double getStartPercentage()
          Returns the start percentage of the link if the tree link is a partial link
 boolean 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

oracle.spatial.geometry.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