Class ConflictBuilder.FixedWidthGenerator

    • 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