Package | Description |
---|---|
org.djunits.unit |
Classes for the unit system.
|
org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
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.matrix |
Float Matrix 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.ANGSTROM |
static LengthUnit |
LengthUnit.ANGSTROM
Angstrom = 10^-10 m.
|
static LengthUnit |
UNITS.ASTRONOMICAL_UNIT |
static LengthUnit |
LengthUnit.ASTRONOMICAL_UNIT
Astronomical Unit = 149,597,870,700 m.
|
static LengthUnit |
UNITS.ATTOMETER |
static LengthUnit |
LengthUnit.ATTOMETER
am.
|
static LengthUnit |
UNITS.CENTIMETER |
static LengthUnit |
LengthUnit.CENTIMETER
cm.
|
static LengthUnit |
UNITS.DECIMETER |
static LengthUnit |
LengthUnit.DECIMETER
dm.
|
static LengthUnit |
UNITS.DEKAMETER |
static LengthUnit |
LengthUnit.DEKAMETER
dam.
|
static LengthUnit |
UNITS.FEMTOMETER |
static LengthUnit |
LengthUnit.FEMTOMETER
fm.
|
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
hm.
|
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
km.
|
static LengthUnit |
UNITS.LIGHTYEAR |
static LengthUnit |
LengthUnit.LIGHTYEAR
Lightyear = 9,460,730,472,580,800 m.
|
static LengthUnit |
UNITS.MEGAMETER |
static LengthUnit |
LengthUnit.MEGAMETER
Mm.
|
static LengthUnit |
UNITS.METER |
static LengthUnit |
LengthUnit.METER
m.
|
static LengthUnit |
UNITS.MICROMETER |
static LengthUnit |
LengthUnit.MICROMETER
µm.
|
static LengthUnit |
UNITS.MILE |
static LengthUnit |
LengthUnit.MILE
mile (international) = 5280 ft = 1760 yd.
|
static LengthUnit |
UNITS.MILLIMETER |
static LengthUnit |
LengthUnit.MILLIMETER
mm.
|
static LengthUnit |
UNITS.NANOMETER |
static LengthUnit |
LengthUnit.NANOMETER
nm.
|
static LengthUnit |
UNITS.NAUTICAL_MILE |
static LengthUnit |
LengthUnit.NAUTICAL_MILE
nautical mile (international) = 1852 m.
|
static LengthUnit |
UNITS.PARSEC |
static LengthUnit |
LengthUnit.PARSEC
Parsec = 648,000 / PI Pc.
|
static LengthUnit |
UNITS.PICOMETER |
static LengthUnit |
LengthUnit.PICOMETER
pm.
|
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
FlowVolumeUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
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 scaleFactorToReferenceUnit)
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.
|
PositionUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactor,
double offset,
LengthUnit relativeUnit)
Build a user-defined PositionUnit with a scale factor and offset to the base PositionUnit.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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.
|
Modifier and Type | Method and Description |
---|---|
protected MutableLengthMatrix |
MutableLengthMatrix.instantiateMutableType(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected MutableLengthMatrix |
LengthMatrix.instantiateMutableType(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected Length |
MutableLengthMatrix.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Length |
LengthMatrix.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected LengthMatrix |
MutableLengthMatrix.instantiateType(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected LengthMatrix |
LengthMatrix.instantiateType(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected LengthMatrix |
PositionMatrix.instantiateTypeRel(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected LengthMatrix |
MutablePositionMatrix.instantiateTypeRel(DoubleMatrixData dmd,
LengthUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
Constructor and Description |
---|
LengthMatrix(double[][] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double LengthMatrix.
|
LengthMatrix(DoubleMatrixData data,
LengthUnit unit)
Construct a new Relative Immutable Double LengthMatrix.
|
MutableLengthMatrix(double[][] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double LengthMatrix.
|
MutableLengthMatrix(DoubleMatrixData data,
LengthUnit unit)
Construct a new Relative Mutable Double LengthMatrix.
|
Modifier and Type | Method and Description |
---|---|
Length |
Position.instantiateRel(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Length |
Length.instantiateRel(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
Length(double value,
LengthUnit unit)
Construct Length scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MutableLengthVector |
MutableLengthVector.instantiateMutableType(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected MutableLengthVector |
LengthVector.instantiateMutableType(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected Length |
MutableLengthVector.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Length |
LengthVector.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected LengthVector |
MutableLengthVector.instantiateType(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected LengthVector |
LengthVector.instantiateType(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected LengthVector |
PositionVector.instantiateTypeRel(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected LengthVector |
MutablePositionVector.instantiateTypeRel(DoubleVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
Constructor and Description |
---|
LengthVector(double[] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
LengthVector(DoubleVectorData data,
LengthUnit unit)
Construct a new Relative Immutable Double LengthVector.
|
LengthVector(List<Double> values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
LengthVector(SortedMap<Integer,Double> values,
LengthUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
MutableLengthVector(double[] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
MutableLengthVector(DoubleVectorData data,
LengthUnit unit)
Construct a new Relative Mutable Double LengthVector.
|
MutableLengthVector(List<Double> values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
MutableLengthVector(SortedMap<Integer,Double> values,
LengthUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatLengthMatrix |
MutableFloatLengthMatrix.instantiateMutableType(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected MutableFloatLengthMatrix |
FloatLengthMatrix.instantiateMutableType(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected FloatLength |
MutableFloatLengthMatrix.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLength |
FloatLengthMatrix.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLengthMatrix |
MutableFloatLengthMatrix.instantiateType(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatLengthMatrix |
FloatLengthMatrix.instantiateType(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatLengthMatrix |
MutableFloatPositionMatrix.instantiateTypeRel(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatLengthMatrix |
FloatPositionMatrix.instantiateTypeRel(FloatMatrixData fmd,
LengthUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
Constructor and Description |
---|
FloatLengthMatrix(float[][] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatLengthMatrix.
|
FloatLengthMatrix(FloatMatrixData data,
LengthUnit unit)
Construct a new Relative Immutable FloatLengthMatrix.
|
MutableFloatLengthMatrix(float[][] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatLengthMatrix.
|
MutableFloatLengthMatrix(FloatMatrixData data,
LengthUnit unit)
Construct a new Relative Mutable FloatLengthMatrix.
|
Modifier and Type | Method and Description |
---|---|
FloatLength |
FloatPosition.instantiateRel(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatLength |
FloatLength.instantiateRel(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatLength(double value,
LengthUnit unit)
Construct FloatLength scalar using a double value.
|
FloatLength(float value,
LengthUnit unit)
Construct FloatLength scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatLengthVector |
MutableFloatLengthVector.instantiateMutableType(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected MutableFloatLengthVector |
FloatLengthVector.instantiateMutableType(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected FloatLength |
MutableFloatLengthVector.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLength |
FloatLengthVector.instantiateScalar(float value,
LengthUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatLengthVector |
MutableFloatLengthVector.instantiateType(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatLengthVector |
FloatLengthVector.instantiateType(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatLengthVector |
MutableFloatPositionVector.instantiateTypeRel(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatLengthVector |
FloatPositionVector.instantiateTypeRel(FloatVectorData dvd,
LengthUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
Constructor and Description |
---|
FloatLengthVector(float[] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
FloatLengthVector(FloatVectorData data,
LengthUnit unit)
Construct a new Relative Immutable FloatLengthVector.
|
FloatLengthVector(List<Float> values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
FloatLengthVector(SortedMap<Integer,Float> values,
LengthUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable FloatLengthVector.
|
MutableFloatLengthVector(float[] values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
MutableFloatLengthVector(FloatVectorData data,
LengthUnit unit)
Construct a new Relative Mutable FloatLengthVector.
|
MutableFloatLengthVector(List<Float> values,
LengthUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
MutableFloatLengthVector(SortedMap<Integer,Float> values,
LengthUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatLengthVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.