Class ConflictBuilder.FixedWidthGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getWidth​(Lane lane, double fraction)
      Returns the begin width of this lane.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FixedWidthGenerator

        public FixedWidthGenerator​(Length width)
        Constructor with width.
        Parameters:
        width - Length; width
    • Method Detail

      • getWidth

        public final double getWidth​(Lane lane,
                                     double fraction)
        Returns the begin width of this lane.
        Specified by:
        getWidth in interface ConflictBuilder.WidthGenerator
        Parameters:
        lane - Lane; lane
        fraction - double; fraction
        Returns:
        begin width of this lane
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object