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 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