Interface ConflictBuilder.WidthGenerator

All Known Implementing Classes:
ConflictBuilder.FixedWidthGenerator, ConflictBuilder.RelativeWidthGenerator
Enclosing class:
ConflictBuilder

public static interface ConflictBuilder.WidthGenerator
Generator for width.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getWidth(Lane lane, double fraction)
    Returns the begin width of this lane.
  • Method Details

    • getWidth

      double getWidth(Lane lane, double fraction)
      Returns the begin width of this lane.
      Parameters:
      lane - Lane; lane
      fraction - double; fraction
      Returns:
      begin width of this lane