Uses of Class
org.djunits.unit.LengthUnit
Package
Description
Units for version 4 of DJUNITS.
Utility classes for the unit package.
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Float Scalar storage and calculations with units, absolute/relative.
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of LengthUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final LengthUnit
LengthUnit.ANGSTROM
Angstrom = 10^-10 m.static final LengthUnit
LengthUnit.ASTRONOMICAL_UNIT
Astronomical Unit = 149,597,870,700 m.static final LengthUnit
LengthUnit.CENTIMETER
cm.static final LengthUnit
LengthUnit.DECAMETER
dam.static final LengthUnit
LengthUnit.DECIMETER
dm.static final LengthUnit
LengthUnit.FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches.static final LengthUnit
LengthUnit.HECTOMETER
hm.static final LengthUnit
LengthUnit.INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft.static final LengthUnit
LengthUnit.KILOMETER
km.static final LengthUnit
LengthUnit.LIGHTYEAR
Lightyear = 9,460,730,472,580,800 m.static final LengthUnit
LengthUnit.METER
meter.static final LengthUnit
LengthUnit.MICROMETER
µm.static final LengthUnit
LengthUnit.MILE
mile (international) = 5280 ft = 1760 yd.static final LengthUnit
LengthUnit.MILLIMETER
mm.static final LengthUnit
LengthUnit.NANOMETER
nm.static final LengthUnit
LengthUnit.NAUTICAL_MILE
nautical mile (international) = 1852 m.static final LengthUnit
LengthUnit.PARSEC
Parsec = 648,000 / PI ly.static final LengthUnit
LengthUnit.SI
The SI unit for length is meter.static final LengthUnit
LengthUnit.YARD
yard (international) = 0.9144 m = 3 ft = 36 in.Modifier and TypeFieldDescriptionstatic final Quantity<LengthUnit>
LengthUnit.BASE
The base, with "m" as the SI signature. -
Uses of LengthUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final LengthUnit
UNITS.ANGSTROM
static final LengthUnit
UNITS.ASTRONOMICAL_UNIT
static final LengthUnit
UNITS.CENTIMETER
static final LengthUnit
UNITS.DECAMETER
static final LengthUnit
UNITS.DECIMETER
static final LengthUnit
UNITS.FOOT
static final LengthUnit
UNITS.HECTOMETER
static final LengthUnit
UNITS.INCH
static final LengthUnit
UNITS.KILOMETER
static final LengthUnit
UNITS.LIGHTYEAR
static final LengthUnit
UNITS.METER
static final LengthUnit
UNITS.MICROMETER
static final LengthUnit
UNITS.MILE
static final LengthUnit
UNITS.MILLIMETER
static final LengthUnit
UNITS.NANOMETER
static final LengthUnit
UNITS.NAUTICAL_MILE
static final LengthUnit
UNITS.PARSEC
static final LengthUnit
UNITS.YARD
-
Uses of LengthUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionfinal LengthMatrix
SIMatrix.asLength
(LengthUnit displayUnit) Return the current matrix as a length matrix, and provide a display unit.LengthMatrix.instantiateMatrix
(DoubleMatrixData dmd, LengthUnit displayUnit) PositionMatrix.instantiateMatrixRel
(DoubleMatrixData dmd, LengthUnit displayUnit) PositionMatrix.instantiateScalarRelSI
(double valueSI, LengthUnit displayUnit) LengthMatrix.instantiateScalarSI
(double valueSI, LengthUnit displayUnit) LengthMatrix.instantiateVector
(DoubleVectorData dvd, LengthUnit displayUnit) PositionMatrix.instantiateVectorRel
(DoubleVectorData dvd, LengthUnit displayUnit) ModifierConstructorDescriptionLengthMatrix
(double[][] data, LengthUnit displayUnit) Construct a LengthMatrix from a double[][] object.LengthMatrix
(double[][] data, LengthUnit displayUnit, StorageType storageType) Construct a LengthMatrix from a double[][] object.LengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, LengthUnit displayUnit, int rows, int cols) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects.LengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, LengthUnit displayUnit, int rows, int cols, StorageType storageType) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects.LengthMatrix
(DoubleMatrixData data, LengthUnit displayUnit) Construct a LengthMatrix from an internal data object.LengthMatrix
(Length[][] data, LengthUnit displayUnit) Construct a LengthMatrix from an array of an array of Length objects.LengthMatrix
(Length[][] data, LengthUnit displayUnit, StorageType storageType) Construct a LengthMatrix from an array of an array of Length objects.ModifierConstructorDescriptionLengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, int rows, int cols) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects.LengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, int rows, int cols, StorageType storageType) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects.LengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, LengthUnit displayUnit, int rows, int cols) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects.LengthMatrix
(Collection<DoubleSparseValue<LengthUnit, Length>> data, LengthUnit displayUnit, int rows, int cols, StorageType storageType) Construct a LengthMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of LengthUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Length
SIScalar.asLength
(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final Length
Length.instantiateRel
(double value, LengthUnit unit) final Length
Position.instantiateRel
(double value, LengthUnit unit) -
Uses of LengthUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionfinal LengthVector
SIVector.asLength
(LengthUnit displayUnit) Return the current vector as a length vector, and provide a display unit.PositionVector.instantiateScalarRelSI
(double valueSI, LengthUnit displayUnit) LengthVector.instantiateScalarSI
(double valueSI, LengthUnit displayUnit) LengthVector.instantiateVector
(DoubleVectorData dvd, LengthUnit displayUnit) PositionVector.instantiateVectorRel
(DoubleVectorData dvd, LengthUnit displayUnit) ModifierConstructorDescriptionLengthVector
(double[] data, LengthUnit displayUnit) Construct an LengthVector from a double[] object.LengthVector
(double[] data, LengthUnit displayUnit, StorageType storageType) Construct an LengthVector from a double[] object.LengthVector
(List<? extends Number> data, LengthUnit displayUnit) Construct an LengthVector from a list of Number objects or a list of Length objects.LengthVector
(List<? extends Number> data, LengthUnit displayUnit, StorageType storageType) Construct an LengthVector from a list of Number objects or a list of Length objects.LengthVector
(Map<Integer, ? extends Number> data, int size, LengthUnit displayUnit) Construct an LengthVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Length objects.LengthVector
(Map<Integer, ? extends Number> data, int size, LengthUnit displayUnit, StorageType storageType) Construct an LengthVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Length objects.LengthVector
(Length[] data, LengthUnit displayUnit) Construct an LengthVector from an array of Length objects.LengthVector
(Length[] data, LengthUnit displayUnit, StorageType storageType) Construct an LengthVector from an array of Length objects.LengthVector
(DoubleVectorData data, LengthUnit displayUnit) Construct an LengthVector from an internal data object. -
Uses of LengthUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionfinal FloatLengthMatrix
FloatSIMatrix.asLength
(LengthUnit displayUnit) Return the current matrix as a length matrix, and provide a display unit.FloatLengthMatrix.instantiateMatrix
(FloatMatrixData fmd, LengthUnit displayUnit) FloatPositionMatrix.instantiateMatrixRel
(FloatMatrixData fmd, LengthUnit displayUnit) FloatPositionMatrix.instantiateScalarRelSI
(float valueSI, LengthUnit displayUnit) FloatLengthMatrix.instantiateScalarSI
(float valueSI, LengthUnit displayUnit) FloatLengthMatrix.instantiateVector
(FloatVectorData fvd, LengthUnit displayUnit) FloatPositionMatrix.instantiateVectorRel
(FloatVectorData fvd, LengthUnit displayUnit) ModifierConstructorDescriptionFloatLengthMatrix
(float[][] data, LengthUnit displayUnit) Construct a FloatLengthMatrix from a float[][] object.FloatLengthMatrix
(float[][] data, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthMatrix from a float[][] object.FloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, LengthUnit displayUnit, int rows, int cols) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects.FloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, LengthUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects.FloatLengthMatrix
(FloatMatrixData data, LengthUnit displayUnit) Construct a FloatLengthMatrix from an internal data object.FloatLengthMatrix
(FloatLength[][] data, LengthUnit displayUnit) Construct a FloatLengthMatrix from an array of an array of FloatLength objects.FloatLengthMatrix
(FloatLength[][] data, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthMatrix from an array of an array of FloatLength objects.ModifierConstructorDescriptionFloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, int rows, int cols) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects.FloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, int rows, int cols, StorageType storageType) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects.FloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, LengthUnit displayUnit, int rows, int cols) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects.FloatLengthMatrix
(Collection<FloatSparseValue<LengthUnit, FloatLength>> data, LengthUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatLengthMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of LengthUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatLength
FloatSIScalar.asLength
(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final FloatLength
FloatLength.instantiateRel
(float value, LengthUnit unit) final FloatLength
FloatPosition.instantiateRel
(float value, LengthUnit unit) ModifierConstructorDescriptionFloatLength
(double value, LengthUnit unit) Construct FloatLength scalar using a double value.FloatLength
(float value, LengthUnit unit) Construct FloatLength scalar. -
Uses of LengthUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionfinal FloatLengthVector
FloatSIVector.asLength
(LengthUnit displayUnit) Return the current vector as a length vector, and provide a display unit.FloatPositionVector.instantiateScalarRelSI
(float valueSI, LengthUnit displayUnit) FloatLengthVector.instantiateScalarSI
(float valueSI, LengthUnit displayUnit) FloatLengthVector.instantiateVector
(FloatVectorData fvd, LengthUnit displayUnit) FloatPositionVector.instantiateVectorRel
(FloatVectorData fvd, LengthUnit displayUnit) ModifierConstructorDescriptionFloatLengthVector
(float[] data, LengthUnit displayUnit) Construct a FloatLengthVector from a float[] object.FloatLengthVector
(float[] data, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthVector from a float[] object.FloatLengthVector
(List<? extends Number> data, LengthUnit displayUnit) Construct a FloatLengthVector from a list of Number objects or a list of FloatLength objects.FloatLengthVector
(List<? extends Number> data, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthVector from a list of Number objects or a list of FloatLength objects.FloatLengthVector
(Map<Integer, ? extends Number> data, int size, LengthUnit displayUnit) Construct a FloatLengthVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatLength objects.FloatLengthVector
(Map<Integer, ? extends Number> data, int size, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatLength objects.FloatLengthVector
(FloatLength[] data, LengthUnit displayUnit) Construct a FloatLengthVector from an array of FloatLength objects.FloatLengthVector
(FloatLength[] data, LengthUnit displayUnit, StorageType storageType) Construct a FloatLengthVector from an array of FloatLength objects.FloatLengthVector
(FloatVectorData data, LengthUnit displayUnit) Construct a FloatLengthVector from an internal data object.