public static interface GeneratorPositions.RoadPosition
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Interface and Description |
---|---|
static class |
GeneratorPositions.RoadPosition.BySpeed
Road position based on desired speed.
|
static class |
GeneratorPositions.RoadPosition.ByValue
Fixed road position.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue(Speed desiredSpeed)
Returns the road position (0.0 = right, 1.0 = left).
|
double getValue(Speed desiredSpeed)
desiredSpeed
- Speed; desired speed at the generatorCopyright © 2014–2019 Delft University of Technology. All rights reserved.