public final class Calc extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
public static DoubleScalar.Rel<LengthUnit> speedTimesTime(DoubleScalar.Rel<SpeedUnit> speed, DoubleScalar.Rel<TimeUnit> time)
speed
- DoubleScalar.Rel<SpeedUnit>; the speedtime
- DoubleScalar.Rel<TimeUnit>; the timepublic static DoubleScalar.Rel<LengthUnit> speedTimesTime(DoubleScalar.Abs<SpeedUnit> speed, DoubleScalar.Rel<TimeUnit> time)
speed
- DoubleScalar.Rel<SpeedUnit>; the speedtime
- DoubleScalar.Rel<TimeUnit>; the timepublic static DoubleScalar.Rel<LengthUnit> accelerationTimesTimeSquaredDiv2(DoubleScalar.Abs<AccelerationUnit> acceleration, DoubleScalar.Rel<TimeUnit> time)
acceleration
- DoubleScalar.Rel<AccelerationUnit>; the accelerationtime
- DoubleScalar.Abs<TimeUnit>; the timepublic static DoubleScalar.Rel<SpeedUnit> accelerationTimesTime(DoubleScalar.Abs<AccelerationUnit> acceleration, DoubleScalar.Rel<TimeUnit> time)
acceleration
- DoubleScalar.Rel<AccelerationUnit>; the accelerationtime
- DoubleScalar.Rel<TimeUnit>; the timepublic static DoubleScalar.Rel<TimeUnit> speedDividedByAcceleration(DoubleScalar<SpeedUnit> speed, DoubleScalar.Rel<AccelerationUnit> acceleration)
speed
- DoubleScalar.Rel<SpeedUnit>; the speedacceleration
- DoubleScalar.Rel<AccelerationUnit>; the accelerationpublic static DoubleScalar.Rel<LengthUnit> speedSquaredDividedByDoubleAcceleration(DoubleScalar<SpeedUnit> speed, DoubleScalar.Abs<AccelerationUnit> acceleration)
speed
- DoubleScalar.Rel<SpeedUnit>; the speedacceleration
- DoubleScalar.Rel<AccelerationUnit>; the accelerationpublic static DoubleScalar.Abs<AccelerationUnit> deltaSpeedDividedByTime(DoubleScalar.Rel<SpeedUnit> speedDifference, DoubleScalar.Rel<TimeUnit> timeDifference)
speedDifference
- DoubleScalar.Rel<SpeedUnit>; the speed differencetimeDifference
- DoubleScalar.Rel<TimeUnit>; the time differenceCopyright © 2014–2015 Delft University of Technology. All rights reserved.