Uses of Class
org.djunits.value.vdouble.scalar.Length
Package
Description
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.
-
Uses of Length in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionPositionMatrix.instantiateScalarRelSI
(double valueSI, LengthUnit displayUnit) LengthMatrix.instantiateScalarSI
(double valueSI, LengthUnit displayUnit) ModifierConstructorDescriptionLengthMatrix
(Length[][] data) Construct a LengthMatrix from an array of an array of Length objects.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.LengthMatrix
(Length[][] data, 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 Length in org.djunits.value.vdouble.scalar
Modifier and TypeFieldDescriptionstatic final Length
Length.NaN
Constant with value NaN.static final Length
Length.NEG_MAXVALUE
Constant with value -MAX_VALUE.static final Length
Length.NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY.static final Length
Length.ONE
Constant with value one.static final Length
Length.POS_MAXVALUE
Constant with value MAX_VALUE.static final Length
Length.POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY.static final Length
Length.ZERO
Constant with value zero.Modifier and TypeMethodDescriptionfinal Length
SIScalar.asLength()
Return the current scalar as a length.final Length
SIScalar.asLength
(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final Length
Calculate the division of Area and Length, which results in a Length scalar.final Length
Dimensionless.divide
(LinearDensity v) Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.final Length
Calculate the division of Energy and Force, which results in a Length scalar.final Length
Calculate the division of Momentum and FlowMass, which results in a Length scalar.final Length
Calculate the division of Speed and Frequency, which results in a Length scalar.final Length
Calculate the division of Torque and Force, which results in a Length scalar.final Length
Calculate the division of Volume and Area, which results in a Length scalar.final Length
Length.instantiateRel
(double value, LengthUnit unit) final Length
Position.instantiateRel
(double value, LengthUnit unit) static final Length
Length.instantiateSI
(double value) Construct Length scalar.static Length
Length.interpolate
(Length zero, Length one, double ratio) Interpolate between two values.static Length
Return the maximum value of two relative scalars.static Length
Return the maximum value of more than two relative scalars.static Length
Return the minimum value of two relative scalars.static Length
Return the minimum value of more than two relative scalars.static Length
Returns a Length based on a value and the textual representation of the unit, which can be localized.LinearDensity.reciprocal()
final Length
Area.times
(LinearDensity v) Calculate the multiplication of Area and LinearDensity, which results in a Length scalar.final Length
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.final Length
Calculate the multiplication of Duration and Speed, which results in a Length scalar.final Length
Calculate the multiplication of LinearDensity and Area, which results in a Length scalar.final Length
Calculate the multiplication of Speed and Duration, which results in a Length scalar.static Length
Returns a Length representation of a textual representation of a value with a unit.Modifier and TypeMethodDescriptionfinal Length
Calculate the division of Area and Length, which results in a Length scalar.final LinearDensity
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.final Force
Calculate the division of Energy and Length, which results in a Force scalar.final Dimensionless
Calculate the division of Length and Length, which results in a Dimensionless scalar.final FlowMass
Calculate the division of Momentum and Length, which results in a FlowMass scalar.final Frequency
Calculate the division of Speed and Length, which results in a Frequency scalar.final Force
Calculate the division of Torque and Length, which results in a Force scalar.final Area
Calculate the division of Volume and Length, which results in a Area scalar.static Length
Length.interpolate
(Length zero, Length one, double ratio) Interpolate between two values.static Length
Return the maximum value of two relative scalars.static Length
Return the maximum value of more than two relative scalars.static Length
Return the minimum value of two relative scalars.static Length
Return the minimum value of more than two relative scalars.final Volume
Calculate the multiplication of Area and Length, which results in a Volume scalar.final Length
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.final Momentum
Calculate the multiplication of FlowMass and Length, which results in a Momentum scalar.final Energy
Calculate the multiplication of Force and Length, which results in a Energy scalar.final Speed
Calculate the multiplication of Frequency and Length, which results in a Speed scalar.final Area
Calculate the multiplication of Length and Length, which results in a Area scalar.final Dimensionless
Calculate the multiplication of LinearDensity and Length, which results in a Dimensionless scalar. -
Uses of Length in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionPositionVector.instantiateScalarRelSI
(double valueSI, LengthUnit displayUnit) LengthVector.instantiateScalarSI
(double valueSI, LengthUnit displayUnit) ModifierConstructorDescriptionLengthVector
(Length[] data) Construct an LengthVector from an array 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
(Length[] data, StorageType storageType) Construct an LengthVector from an array of Length objects.