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-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 16 dec. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getWidth(Lane lane, double fraction)
Returns the begin width of this lane.
-
-
-
Method Detail
-
getWidth
double getWidth(Lane lane, double fraction)
Returns the begin width of this lane.- Parameters:
lane
- Lane; lanefraction
- double; fraction- Returns:
- begin width of this lane
-
-