java.lang.Object
net.sourceforge.plantuml.sequencediagram.graphic.Segment

public class Segment extends Object
  • Constructor Details

    • Segment

      public Segment(double pos1, double pos2)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • contains

      public final boolean contains(double y)
    • contains

      public final boolean contains(Segment other)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLength

      public final double getLength()
    • getPos1

      public final double getPos1()
    • getPos2

      public final double getPos2()
    • merge

      public Segment merge(Segment this2)
    • cutSegmentIfNeed

      public Collection<Segment> cutSegmentIfNeed(Collection<Segment> allDelays)