Uses of Class
org.djunits.unit.LengthUnit
Packages that use 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
Fields in org.djunits.unit declared as LengthUnitModifier and TypeFieldDescriptionstatic final LengthUnitLengthUnit.ANGSTROMAngstrom = 10^-10 m.static final LengthUnitLengthUnit.ASTRONOMICAL_UNITAstronomical Unit = 149,597,870,700 m.static final LengthUnitLengthUnit.CENTIMETERcm.static final LengthUnitLengthUnit.DECAMETERdam.static final LengthUnitLengthUnit.DECIMETERdm.static final LengthUnitLengthUnit.FOOTfoot (international) = 0.3048 m = 1/3 yd = 12 inches.static final LengthUnitLengthUnit.HECTOMETERhm.static final LengthUnitLengthUnit.INCHinch (international) = 2.54 cm = 1/36 yd = 1/12 ft.static final LengthUnitLengthUnit.KILOMETERkm.static final LengthUnitLengthUnit.LIGHTYEARLightyear = 9,460,730,472,580,800 m.static final LengthUnitLengthUnit.METERmeter.static final LengthUnitLengthUnit.MICROMETERµm.static final LengthUnitLengthUnit.MILEmile (international) = 5280 ft = 1760 yd.static final LengthUnitLengthUnit.MILLIMETERmm.static final LengthUnitLengthUnit.NANOMETERnm.static final LengthUnitLengthUnit.NAUTICAL_MILEnautical mile (international) = 1852 m.static final LengthUnitLengthUnit.PARSECParsec = 648,000 / PI ly.static final LengthUnitLengthUnit.SIThe SI unit for length is meter.static final LengthUnitLengthUnit.YARDyard (international) = 0.9144 m = 3 ft = 36 in.Fields in org.djunits.unit with type parameters of type LengthUnitModifier and TypeFieldDescriptionstatic final Quantity<LengthUnit>LengthUnit.BASEThe base, with "m" as the SI signature. -
Uses of LengthUnit in org.djunits.unit.util
Fields in org.djunits.unit.util declared as LengthUnitModifier and TypeFieldDescriptionstatic final LengthUnitUNITS.ANGSTROMstatic final LengthUnitUNITS.ASTRONOMICAL_UNITstatic final LengthUnitUNITS.CENTIMETERstatic final LengthUnitUNITS.DECAMETERstatic final LengthUnitUNITS.DECIMETERstatic final LengthUnitUNITS.FOOTstatic final LengthUnitUNITS.HECTOMETERstatic final LengthUnitUNITS.INCHstatic final LengthUnitUNITS.KILOMETERstatic final LengthUnitUNITS.LIGHTYEARstatic final LengthUnitUNITS.METERstatic final LengthUnitUNITS.MICROMETERstatic final LengthUnitUNITS.MILEstatic final LengthUnitUNITS.MILLIMETERstatic final LengthUnitUNITS.NANOMETERstatic final LengthUnitUNITS.NAUTICAL_MILEstatic final LengthUnitUNITS.PARSECstatic final LengthUnitUNITS.YARD -
Uses of LengthUnit in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal LengthMatrixSIMatrix.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) Constructors in org.djunits.value.vdouble.matrix with parameters of type LengthUnitModifierConstructorDescriptionLengthMatrix(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.Constructor parameters in org.djunits.value.vdouble.matrix with type arguments of type LengthUnitModifierConstructorDescriptionLengthMatrix(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
Methods in org.djunits.value.vdouble.scalar with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal LengthSIScalar.asLength(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final LengthLength.instantiateRel(double value, LengthUnit unit) final LengthPosition.instantiateRel(double value, LengthUnit unit) Constructors in org.djunits.value.vdouble.scalar with parameters of type LengthUnitModifierConstructorDescriptionLength(double value, LengthUnit unit) Construct Length scalar with a unit. -
Uses of LengthUnit in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal LengthVectorSIVector.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) Constructors in org.djunits.value.vdouble.vector with parameters of type LengthUnitModifierConstructorDescriptionLengthVector(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
Methods in org.djunits.value.vfloat.matrix with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal FloatLengthMatrixFloatSIMatrix.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) Constructors in org.djunits.value.vfloat.matrix with parameters of type LengthUnitModifierConstructorDescriptionFloatLengthMatrix(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.Constructor parameters in org.djunits.value.vfloat.matrix with type arguments of type LengthUnitModifierConstructorDescriptionFloatLengthMatrix(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
Methods in org.djunits.value.vfloat.scalar with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal FloatLengthFloatSIScalar.asLength(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final FloatLengthFloatLength.instantiateRel(float value, LengthUnit unit) final FloatLengthFloatPosition.instantiateRel(float value, LengthUnit unit) Constructors in org.djunits.value.vfloat.scalar with parameters of type LengthUnitModifierConstructorDescriptionFloatLength(double value, LengthUnit unit) Construct FloatLength scalar with a unit using a double value.FloatLength(float value, LengthUnit unit) Construct FloatLength scalar with a unit. -
Uses of LengthUnit in org.djunits.value.vfloat.vector
Methods in org.djunits.value.vfloat.vector with parameters of type LengthUnitModifier and TypeMethodDescriptionfinal FloatLengthVectorFloatSIVector.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) Constructors in org.djunits.value.vfloat.vector with parameters of type LengthUnitModifierConstructorDescriptionFloatLengthVector(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.