@FunctionalInterface public static interface Distraction.DistractionProfile
 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.
 
| Modifier and Type | Method and Description | 
|---|---|
Double | 
getDistraction(org.djunits.value.vdouble.scalar.Length distance)
Returns the level of distraction at the given distance. 
 | 
Double getDistraction(org.djunits.value.vdouble.scalar.Length distance)
distance - Distance to distraction; negative when approachingnull if the distraction is no longer importantCopyright © 2014–2018 Delft University of Technology. All rights reserved.