public interface Scale
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.
| Modifier and Type | Method and Description |
|---|---|
double |
fromStandardUnit(double value)
Convert a value from an SI value to a value in the unit that uses this scale.
|
double |
toStandardUnit(double value)
Convert a value to an SI value using this scale.
|
double toStandardUnit(double value)
value - the value to convertdouble fromStandardUnit(double value)
value - the value to convertCopyright © 2015–2016 Delft University of Technology. All rights reserved.