public static class GeneratorPositions.RoadPosition.ByValue extends Object implements GeneratorPositions.RoadPosition
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
 reserved. 
 BSD-style license. See OpenTrafficSim License.
 
GeneratorPositions.RoadPosition.BySpeed, GeneratorPositions.RoadPosition.ByValue| Constructor and Description | 
|---|
ByValue(double value)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj) | 
double | 
getValue(org.djunits.value.vdouble.scalar.Speed desiredSpeed)
Returns the road position (0.0 = right, 1.0 = left). 
 | 
int | 
hashCode() | 
public ByValue(double value)
value - double; road positionpublic double getValue(org.djunits.value.vdouble.scalar.Speed desiredSpeed)
getValue in interface GeneratorPositions.RoadPositiondesiredSpeed - Speed; desired speed at the generatorCopyright © 2014–2018 Delft University of Technology. All rights reserved.