public static class ConflictBuilder.RelativeWidthGenerator extends Object implements ConflictBuilder.WidthGenerator
 Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
RelativeWidthGenerator(double factor)
Constructor with width factor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getWidth(Lane lane,
        double fraction)
Returns the begin width of this lane. 
 | 
public RelativeWidthGenerator(double factor)
factor - double; width factorpublic final double getWidth(Lane lane, double fraction)
getWidth in interface ConflictBuilder.WidthGeneratorlane - Lane; lanefraction - double; fractionCopyright © 2014–2017 Delft University of Technology. All rights reserved.