| 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.
|
| org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Field and Description |
|---|---|
static LengthUnit |
UNITS.CENTIMETER |
static LengthUnit |
LengthUnit.CENTIMETER
centimeter.
|
static LengthUnit |
UNITS.DECIMETER |
static LengthUnit |
LengthUnit.DECIMETER
decimeter.
|
static LengthUnit |
UNITS.DEKAMETER |
static LengthUnit |
LengthUnit.DEKAMETER
decameter.
|
static LengthUnit |
UNITS.FOOT |
static LengthUnit |
LengthUnit.FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches.
|
static LengthUnit |
UNITS.HECTOMETER |
static LengthUnit |
LengthUnit.HECTOMETER
hectometer.
|
static LengthUnit |
UNITS.INCH |
static LengthUnit |
LengthUnit.INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft.
|
static LengthUnit |
UNITS.KILOMETER |
static LengthUnit |
LengthUnit.KILOMETER
kilometer.
|
static LengthUnit |
UNITS.METER |
static LengthUnit |
LengthUnit.METER
meter.
|
static LengthUnit |
UNITS.MILE |
static LengthUnit |
LengthUnit.MILE
mile (international) = 5280 ft = 1760 yd.
|
static LengthUnit |
UNITS.MILLIMETER |
static LengthUnit |
LengthUnit.MILLIMETER
millimeter.
|
static LengthUnit |
UNITS.NAUTICAL_MILE |
static LengthUnit |
LengthUnit.NAUTICAL_MILE
nautical mile (international) = 1852 m.
|
static LengthUnit |
LengthUnit.SI
The SI unit for length is meter.
|
static LengthUnit |
UNITS.YARD |
static LengthUnit |
LengthUnit.YARD
yard (international) = 0.9144 m = 3 ft = 36 in.
|
| Modifier and Type | Method and Description |
|---|---|
LengthUnit |
VolumeUnit.getLengthUnit() |
LengthUnit |
TorqueUnit.getLengthUnit() |
LengthUnit |
SpeedUnit.getLengthUnit() |
LengthUnit |
PressureUnit.getLengthUnit() |
LengthUnit |
PowerUnit.getLengthUnit() |
LengthUnit |
MoneyPerLengthUnit.getLengthUnit() |
LengthUnit |
LinearDensityUnit.getLengthUnit() |
LengthUnit |
ForceUnit.getLengthUnit() |
LengthUnit |
FlowVolumeUnit.getLengthUnit() |
LengthUnit |
EnergyUnit.getLengthUnit() |
LengthUnit |
ElectricalResistanceUnit.getLengthUnit() |
LengthUnit |
ElectricalPotentialUnit.getLengthUnit() |
LengthUnit |
DensityUnit.getLengthUnit() |
LengthUnit |
AreaUnit.getLengthUnit() |
LengthUnit |
AccelerationUnit.getLengthUnit() |
LengthUnit |
LengthUnit.getStandardUnit() |
| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AreaUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined area unit based on length.
|
DensityUnit(MassUnit massUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined density unit based on mass and length.
|
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalPotentialUnit based on its constituent base units, e.g.
|
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
EnergyUnit(ForceUnit forceUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on a LengthUnit and a ForceUnit, e.g.
|
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on its constituent base units, e.g.
|
LengthUnit(String name,
String abbreviation,
UnitSystem unitSystem,
LengthUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined LengthUnit with a conversion factor to another LengthUnit.
|
LinearDensityUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined LinearDensityUnit based on length.
|
MoneyPerLengthUnit(MoneyUnit moneyUnit,
LengthUnit lengthUnit,
String name,
String abbreviation)
Build a user-defined money per length unit from a money unit and an length unit.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on a LengthUnit, a ForceUnit, and a TimeUnit, e.g.
|
PowerUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from mass, length and time units, e.g., a Pascal = kg/m.s^2.
|
SpeedUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined speed unit from a length unit and a time unit.
|
TorqueUnit(ForceUnit forceUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from force and length units.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from mass, length and time units.
|
VolumeUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined volume unit based on length, e.g.
|
| Constructor and Description |
|---|
Abs(double value,
LengthUnit unit)
Construct Length.Abs scalar.
|
Rel(double value,
LengthUnit unit)
Construct Length.Rel scalar.
|
| Constructor and Description |
|---|
Abs(DoubleScalar.Abs<LengthUnit> value)
Construct Length.Abs scalar.
|
Rel(DoubleScalar.Rel<LengthUnit> value)
Construct Length.Rel scalar.
|
| Constructor and Description |
|---|
Abs(LengthUnit unit)
Construct a new Absolute MutableLengthVector.
|
Abs(LengthUnit unit)
Construct a new Absolute Immutable DoubleVector.
|
Dense(double[] values,
LengthUnit unit)
Construct a new Absolute Dense Mutable LengthVector.
|
Dense(double[] values,
LengthUnit unit)
Construct a new Dense Immutable Double Length Vector.
|
Dense(double[] values,
LengthUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(double[] values,
LengthUnit unit)
Construct a new Dense Immutable Double Length Vector.
|
Dense(List<Double> values,
LengthUnit unit)
Construct a new Absolute Dense Mutable LengthVector.
|
Dense(List<Double> values,
LengthUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<Double> values,
LengthUnit unit)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<Double> values,
LengthUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Rel(LengthUnit unit)
Construct a new Absolute MutableLengthVector.
|
Rel(LengthUnit unit) |
Sparse(double[] values,
LengthUnit unit)
Construct a new Absolute Sparse Mutable LengthVector.
|
Sparse(double[] values,
LengthUnit unit)
Construct a new Sparse Immutable Double Length Vector.
|
Sparse(double[] values,
LengthUnit unit)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(double[] values,
LengthUnit unit)
Construct a new Sparse Immutable Double Length Vector.
|
Sparse(SortedMap<Integer,Double> values,
LengthUnit unit,
int length)
Construct a new Absolute Sparse Mutable LengthVector.
|
Sparse(SortedMap<Integer,Double> values,
LengthUnit unit,
int length)
Construct a new Sparse Immutable Length Vector.
|
Sparse(SortedMap<Integer,Double> values,
LengthUnit unit,
int length)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,Double> values,
LengthUnit unit,
int length)
Construct a new Sparse Immutable Length Vector.
|
| Constructor and Description |
|---|
Dense(List<DoubleScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Mutable LengthVector.
|
Dense(List<DoubleScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Mutable LengthVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable Length Vector.
|
Sparse(SortedMap<Integer,DoubleScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable Length Vector.
|
| Constructor and Description |
|---|
Abs(double value,
LengthUnit unit)
Construct FloatLength.Abs scalar using a double value.
|
Abs(float value,
LengthUnit unit)
Construct FloatLength.Abs scalar.
|
Rel(double value,
LengthUnit unit)
Construct FloatLength.Rel scalar using a double value.
|
Rel(float value,
LengthUnit unit)
Construct FloatLength.Rel scalar.
|
| Constructor and Description |
|---|
Abs(FloatScalar.Abs<LengthUnit> value)
Construct FloatLength.Abs scalar.
|
Rel(FloatScalar.Rel<LengthUnit> value)
Construct FloatLength.Rel scalar.
|
| Constructor and Description |
|---|
Abs(LengthUnit unit)
Construct a new Absolute MutableFloatLengthVector.
|
Abs(LengthUnit unit)
Construct a new Absolute Immutable FloatVector.
|
Dense(float[] values,
LengthUnit unit)
Construct a new Absolute Dense Mutable FloatLengthVector.
|
Dense(float[] values,
LengthUnit unit)
Construct a new Dense Immutable Float FloatLength Vector.
|
Dense(float[] values,
LengthUnit unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(float[] values,
LengthUnit unit)
Construct a new Dense Immutable Float FloatLength Vector.
|
Dense(List<Float> values,
LengthUnit unit)
Construct a new Absolute Dense Mutable FloatLengthVector.
|
Dense(List<Float> values,
LengthUnit unit)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<Float> values,
LengthUnit unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<Float> values,
LengthUnit unit)
Construct a new Relative Dense Immutable FloatVector.
|
Rel(LengthUnit unit)
Construct a new Absolute MutableFloatLengthVector.
|
Rel(LengthUnit unit) |
Sparse(float[] values,
LengthUnit unit)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(float[] values,
LengthUnit unit)
Construct a new Sparse Immutable Float FloatLength Vector.
|
Sparse(float[] values,
LengthUnit unit)
Construct a new Absolute Sparse Immutable FloatVector.
|
Sparse(float[] values,
LengthUnit unit)
Construct a new Sparse Immutable Float FloatLength Vector.
|
Sparse(SortedMap<Integer,Float> values,
LengthUnit unit,
int length)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(SortedMap<Integer,Float> values,
LengthUnit unit,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
Sparse(SortedMap<Integer,Float> values,
LengthUnit unit,
int length)
Construct a new Absolute Sparse Immutable FloatVector.
|
Sparse(SortedMap<Integer,Float> values,
LengthUnit unit,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
| Constructor and Description |
|---|
Dense(List<FloatScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Mutable FloatLengthVector.
|
Dense(List<FloatScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Immutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.