Class LinkDirection

    • Constructor Detail

      • LinkDirection

        public LinkDirection​(Link link,
                             GTUDirectionality direction)
        Parameters:
        link - Link; the link
        direction - GTUDirectionality; the direction on the link, with or against the design line
    • Method Detail

      • getLink

        public final Link getLink()
        Returns:
        link
      • getNodeTo

        public final Node getNodeTo()
        Returns:
        the destination node of the linkdirection
      • getNodeFrom

        public final Node getNodeFrom()
        Returns:
        the origin node of the linkdirection
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object