Uses of Class
org.djunits.unit.LengthUnit
| Package | Description |
|---|---|
| org.djunits.unit |
Units for version 4 of DJUNITS.
|
| org.djunits.unit.util |
Utility classes for the unit package.
|
| 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.Note: All code in this package is generated.
|
| 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.
|
-
Uses of LengthUnit in org.djunits.unit
Fields in org.djunits.unit declared as LengthUnit Modifier and Type Field Description static LengthUnitLengthUnit. ANGSTROMAngstrom = 10^-10 m.static LengthUnitLengthUnit. ASTRONOMICAL_UNITAstronomical Unit = 149,597,870,700 m.static LengthUnitLengthUnit. CENTIMETERcm.static LengthUnitLengthUnit. DECAMETERdam.static LengthUnitLengthUnit. DECIMETERdm.static LengthUnitLengthUnit. FOOTfoot (international) = 0.3048 m = 1/3 yd = 12 inches.static LengthUnitLengthUnit. HECTOMETERhm.static LengthUnitLengthUnit. INCHinch (international) = 2.54 cm = 1/36 yd = 1/12 ft.static LengthUnitLengthUnit. KILOMETERkm.static LengthUnitLengthUnit. LIGHTYEARLightyear = 9,460,730,472,580,800 m.static LengthUnitLengthUnit. METERmeter.static LengthUnitLengthUnit. MICROMETERµm.static LengthUnitLengthUnit. MILEmile (international) = 5280 ft = 1760 yd.static LengthUnitLengthUnit. MILLIMETERmm.static LengthUnitLengthUnit. NANOMETERnm.static LengthUnitLengthUnit. NAUTICAL_MILEnautical mile (international) = 1852 m.static LengthUnitLengthUnit. PARSECParsec = 648,000 / PI ly.static LengthUnitLengthUnit. SIThe SI unit for length is meter.static LengthUnitLengthUnit. YARDyard (international) = 0.9144 m = 3 ft = 36 in.Fields in org.djunits.unit with type parameters of type LengthUnit Modifier and Type Field Description static 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 LengthUnit Modifier and Type Field Description static LengthUnitUNITS. ANGSTROMstatic LengthUnitUNITS. ASTRONOMICAL_UNITstatic LengthUnitUNITS. CENTIMETERstatic LengthUnitUNITS. DECAMETERstatic LengthUnitUNITS. DECIMETERstatic LengthUnitUNITS. FOOTstatic LengthUnitUNITS. HECTOMETERstatic LengthUnitUNITS. INCHstatic LengthUnitUNITS. KILOMETERstatic LengthUnitUNITS. LIGHTYEARstatic LengthUnitUNITS. METERstatic LengthUnitUNITS. MICROMETERstatic LengthUnitUNITS. MILEstatic LengthUnitUNITS. MILLIMETERstatic LengthUnitUNITS. NANOMETERstatic LengthUnitUNITS. NAUTICAL_MILEstatic LengthUnitUNITS. PARSECstatic LengthUnitUNITS. YARD -
Uses of LengthUnit in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix with parameters of type LengthUnit Modifier and Type Method Description LengthMatrixSIMatrix. asLength(LengthUnit displayUnit)Return the current matrix as a length matrix, and provide a display unit.LengthMatrixLengthMatrix. instantiateMatrix(DoubleMatrixData dmd, LengthUnit displayUnit)Instantiate a new matrix of the class of this matrix.LengthMatrixPositionMatrix. instantiateMatrixRel(DoubleMatrixData dmd, LengthUnit displayUnit)Instantiate a new relative matrix of the class of this absolute matrix.LengthPositionMatrix. instantiateScalarRelSI(double valueSI, LengthUnit displayUnit)Instantiate a new relative scalar for the class of this absolute matrix.LengthLengthMatrix. instantiateScalarSI(double valueSI, LengthUnit displayUnit)Instantiate a new scalar for the class of this matrix.LengthVectorLengthMatrix. instantiateVector(DoubleVectorData dvd, LengthUnit displayUnit)Instantiate a new vector of the class of this matrix.LengthVectorPositionMatrix. instantiateVectorRel(DoubleVectorData dvd, LengthUnit displayUnit)Instantiate a new relative vector of the class of this absolute matrix.Constructors in org.djunits.value.vdouble.matrix with parameters of type LengthUnit Constructor Description LengthMatrix(DoubleMatrixData data, LengthUnit unit) -
Uses of LengthUnit in org.djunits.value.vdouble.scalar
Methods in org.djunits.value.vdouble.scalar with parameters of type LengthUnit Modifier and Type Method Description LengthSIScalar. asLength(LengthUnit displayUnit)Return the current scalar as a length, and provide a display unit.LengthLength. instantiateRel(double value, LengthUnit unit)Construct a new Relative Immutable DoubleScalar of the right type.LengthPosition. instantiateRel(double value, LengthUnit unit)Construct a new Relative Immutable DoubleScalar of the right type.Constructors in org.djunits.value.vdouble.scalar with parameters of type LengthUnit Constructor Description Length(double value, LengthUnit unit)Construct Length scalar. -
Uses of LengthUnit in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector with parameters of type LengthUnit Modifier and Type Method Description LengthVectorSIVector. asLength(LengthUnit displayUnit)Return the current vector as a length vector, and provide a display unit.LengthPositionVector. instantiateScalarRelSI(double valueSI, LengthUnit displayUnit)Instantiate a new relative scalar for the class of this absolute vector.LengthLengthVector. instantiateScalarSI(double valueSI, LengthUnit displayUnit)Instantiate a new scalar for the class of this vector.LengthVectorLengthVector. instantiateVector(DoubleVectorData dvd, LengthUnit displayUnit)Instantiate a new vector of the class of this vector.LengthVectorPositionVector. instantiateVectorRel(DoubleVectorData dvd, LengthUnit displayUnit)Instantiate a new relative vector of the class of this absolute vector.Constructors in org.djunits.value.vdouble.vector with parameters of type LengthUnit Constructor Description 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 LengthUnit Modifier and Type Method Description FloatLengthMatrixFloatSIMatrix. asLength(LengthUnit displayUnit)Return the current matrix as a length matrix, and provide a display unit.FloatLengthMatrixFloatLengthMatrix. instantiateMatrix(FloatMatrixData fmd, LengthUnit displayUnit)Instantiate a new matrix of the class of this matrix.FloatLengthMatrixFloatPositionMatrix. instantiateMatrixRel(FloatMatrixData fmd, LengthUnit displayUnit)Instantiate a new relative matrix of the class of this absolute matrix.FloatLengthFloatPositionMatrix. instantiateScalarRelSI(float valueSI, LengthUnit displayUnit)Instantiate a new relative scalar for the class of this absolute matrix.FloatLengthFloatLengthMatrix. instantiateScalarSI(float valueSI, LengthUnit displayUnit)Instantiate a new scalar for the class of this matrix.FloatLengthVectorFloatLengthMatrix. instantiateVector(FloatVectorData fvd, LengthUnit displayUnit)Instantiate a new vector of the class of this matrix.FloatLengthVectorFloatPositionMatrix. instantiateVectorRel(FloatVectorData fvd, LengthUnit displayUnit)Instantiate a new relative vector of the class of this absolute matrix.Constructors in org.djunits.value.vfloat.matrix with parameters of type LengthUnit Constructor Description FloatLengthMatrix(FloatMatrixData data, LengthUnit unit) -
Uses of LengthUnit in org.djunits.value.vfloat.scalar
Methods in org.djunits.value.vfloat.scalar with parameters of type LengthUnit Modifier and Type Method Description FloatLengthFloatSIScalar. asLength(LengthUnit displayUnit)Return the current scalar as a length, and provide a display unit.FloatLengthFloatLength. instantiateRel(float value, LengthUnit unit)Construct a new Relative Immutable FloatScalar of the right type.FloatLengthFloatPosition. instantiateRel(float value, LengthUnit unit)Construct a new Relative Immutable FloatScalar of the right type.Constructors in org.djunits.value.vfloat.scalar with parameters of type LengthUnit Constructor Description FloatLength(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
Methods in org.djunits.value.vfloat.vector with parameters of type LengthUnit Modifier and Type Method Description FloatLengthVectorFloatSIVector. asLength(LengthUnit displayUnit)Return the current vector as a length vector, and provide a display unit.FloatLengthFloatPositionVector. instantiateScalarRelSI(float valueSI, LengthUnit displayUnit)Instantiate a new relative scalar for the class of this absolute vector.FloatLengthFloatLengthVector. instantiateScalarSI(float valueSI, LengthUnit displayUnit)Instantiate a new scalar for the class of this vector.FloatLengthVectorFloatLengthVector. instantiateVector(FloatVectorData fvd, LengthUnit displayUnit)Instantiate a new vector of the class of this vector.FloatLengthVectorFloatPositionVector. instantiateVectorRel(FloatVectorData fvd, LengthUnit displayUnit)Instantiate a new relative vector of the class of this absolute vector.Constructors in org.djunits.value.vfloat.vector with parameters of type LengthUnit Constructor Description FloatLengthVector(FloatVectorData data, LengthUnit unit)Construct a new Relative Immutable FloatLengthVector.