| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| Modifier and Type | Field and Description |
|---|---|
static SpeedUnit |
UNITS.FOOT_PER_SECOND |
static SpeedUnit |
SpeedUnit.FOOT_PER_SECOND
ft/s.
|
static SpeedUnit |
UNITS.KM_PER_HOUR |
static SpeedUnit |
SpeedUnit.KM_PER_HOUR
km/h.
|
static SpeedUnit |
UNITS.KNOT |
static SpeedUnit |
SpeedUnit.KNOT
knot.
|
static SpeedUnit |
UNITS.METER_PER_SECOND |
static SpeedUnit |
SpeedUnit.METER_PER_SECOND
m/s.
|
static SpeedUnit |
UNITS.MILE_PER_HOUR |
static SpeedUnit |
SpeedUnit.MILE_PER_HOUR
mile/h.
|
static SpeedUnit |
SpeedUnit.SI
The SI unit for velocity is m/s.
|
| Modifier and Type | Method and Description |
|---|---|
SpeedUnit |
SpeedUnit.getStandardUnit() |
| Constructor and Description |
|---|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
SpeedUnit(String name,
String abbreviation,
UnitSystem unitSystem,
SpeedUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined SpeedUnit with a conversion factor to another SpeedUnit.
|
| Constructor and Description |
|---|
Speed(double value,
SpeedUnit unit)
Construct Speed scalar.
|
| Constructor and Description |
|---|
Speed(DoubleScalar.Rel<SpeedUnit> value)
Construct Speed scalar.
|
| Constructor and Description |
|---|
Dense(double[] values,
SpeedUnit unit)
Construct a new Dense Immutable Double Speed Vector.
|
Dense(double[] values,
SpeedUnit unit)
Construct a new Dense Immutable Double Speed Vector.
|
Dense(List<Double> values,
SpeedUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<Double> values,
SpeedUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
MutableSpeedVector(SpeedUnit unit) |
Sparse(double[] values,
SpeedUnit unit)
Construct a new Sparse Immutable Double Speed Vector.
|
Sparse(double[] values,
SpeedUnit unit)
Construct a new Sparse Immutable Double Speed Vector.
|
Sparse(SortedMap<Integer,Double> values,
SpeedUnit unit,
int length)
Construct a new Sparse Immutable Speed Vector.
|
Sparse(SortedMap<Integer,Double> values,
SpeedUnit unit,
int length)
Construct a new Sparse Immutable Speed Vector.
|
SpeedVector(SpeedUnit unit) |
| Constructor and Description |
|---|
Dense(List<DoubleScalar.Rel<SpeedUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<SpeedUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<SpeedUnit>> values,
int length)
Construct a new Sparse Immutable Speed Vector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<SpeedUnit>> values,
int length)
Construct a new Sparse Immutable Speed Vector.
|
| Constructor and Description |
|---|
FloatSpeed(double value,
SpeedUnit unit)
Construct FloatSpeed scalar using a double value.
|
FloatSpeed(float value,
SpeedUnit unit)
Construct FloatSpeed scalar.
|
| Constructor and Description |
|---|
FloatSpeed(FloatScalar.Rel<SpeedUnit> value)
Construct FloatSpeed scalar.
|
Copyright © 2015 Delft University of Technology. All rights reserved.