Uses of Class
org.djunits.value.vdouble.scalar.Length
Package | Description |
---|---|
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.
|
-
Uses of Length in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix that return Length Modifier and Type Method Description Length
PositionMatrix. instantiateScalarRelSI(double valueSI, LengthUnit displayUnit)
Instantiate a new relative scalar for the class of this absolute matrix.Length
LengthMatrix. instantiateScalarSI(double valueSI, LengthUnit displayUnit)
Instantiate a new scalar for the class of this matrix.Methods in org.djunits.value.vdouble.matrix that return types with arguments of type Length Modifier and Type Method Description Class<Length>
LengthMatrix. getScalarClass()
Return the class of the corresponding scalar. -
Uses of Length in org.djunits.value.vdouble.scalar
Fields in org.djunits.value.vdouble.scalar declared as Length Modifier and Type Field Description static Length
Length. NaN
Constant with value NaN.static Length
Length. NEG_MAXVALUE
Constant with value -MAX_VALUE.static Length
Length. NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY.static Length
Length. ONE
Constant with value one.static Length
Length. POS_MAXVALUE
Constant with value MAX_VALUE.static Length
Length. POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY.static Length
Length. ZERO
Constant with value zero.Methods in org.djunits.value.vdouble.scalar that return Length Modifier and Type Method Description Length
SIScalar. asLength()
Return the current scalar as a length.Length
SIScalar. asLength(LengthUnit displayUnit)
Return the current scalar as a length, and provide a display unit.Length
Area. divide(Length v)
Calculate the division of Area and Length, which results in a Length scalar.Length
Dimensionless. divide(LinearDensity v)
Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.Length
Energy. divide(Force v)
Calculate the division of Energy and Force, which results in a Length scalar.Length
Speed. divide(Frequency v)
Calculate the division of Speed and Frequency, which results in a Length scalar.Length
Torque. divide(Force v)
Calculate the division of Torque and Force, which results in a Length scalar.Length
Volume. divide(Area v)
Calculate the division of Volume and Area, which results in a Length scalar.Length
Length. instantiateRel(double value, LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.Length
Position. instantiateRel(double value, LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.static Length
Length. instantiateSI(double value)
Construct Length scalar.static Length
Length. interpolate(Length zero, Length one, double ratio)
Interpolate between two values.static Length
Length. max(Length r1, Length r2)
Return the maximum value of two relative scalars.static Length
Length. max(Length r1, Length r2, Length... rn)
Return the maximum value of more than two relative scalars.static Length
Length. min(Length r1, Length r2)
Return the minimum value of two relative scalars.static Length
Length. min(Length r1, Length r2, Length... rn)
Return the minimum value of more than two relative scalars.static Length
Length. of(double value, String unitString)
Returns a Length based on a value and the textual representation of the unit.Length
Area. times(LinearDensity v)
Calculate the multiplication of Area and LinearDensity, which results in a Length scalar.Length
Dimensionless. times(Length v)
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.Length
Duration. times(Speed v)
Calculate the multiplication of Duration and Speed, which results in a Length scalar.Length
LinearDensity. times(Area v)
Calculate the multiplication of LinearDensity and Area, which results in a Length scalar.Length
Speed. times(Duration v)
Calculate the multiplication of Speed and Duration, which results in a Length scalar.static Length
Length. valueOf(String text)
Returns a Length representation of a textual representation of a value with a unit.Methods in org.djunits.value.vdouble.scalar with parameters of type Length Modifier and Type Method Description Length
Area. divide(Length v)
Calculate the division of Area and Length, which results in a Length scalar.LinearDensity
Dimensionless. divide(Length v)
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.Force
Energy. divide(Length v)
Calculate the division of Energy and Length, which results in a Force scalar.Dimensionless
Length. divide(Length v)
Calculate the division of Length and Length, which results in a Dimensionless scalar.Frequency
Speed. divide(Length v)
Calculate the division of Speed and Length, which results in a Frequency scalar.Force
Torque. divide(Length v)
Calculate the division of Torque and Length, which results in a Force scalar.Area
Volume. divide(Length v)
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
Length. max(Length r1, Length r2)
Return the maximum value of two relative scalars.static Length
Length. max(Length r1, Length r2, Length... rn)
Return the maximum value of more than two relative scalars.static Length
Length. min(Length r1, Length r2)
Return the minimum value of two relative scalars.static Length
Length. min(Length r1, Length r2, Length... rn)
Return the minimum value of more than two relative scalars.Volume
Area. times(Length v)
Calculate the multiplication of Area and Length, which results in a Volume scalar.Length
Dimensionless. times(Length v)
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.Energy
Force. times(Length v)
Calculate the multiplication of Force and Length, which results in a Energy scalar.Speed
Frequency. times(Length v)
Calculate the multiplication of Frequency and Length, which results in a Speed scalar.Area
Length. times(Length v)
Calculate the multiplication of Length and Length, which results in a Area scalar.Constructors in org.djunits.value.vdouble.scalar with parameters of type Length Constructor Description Length(Length value)
Construct Length scalar. -
Uses of Length in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector that return Length Modifier and Type Method Description Length
PositionVector. instantiateScalarRelSI(double valueSI, LengthUnit displayUnit)
Instantiate a new relative scalar for the class of this absolute vector.Length
LengthVector. instantiateScalarSI(double valueSI, LengthUnit displayUnit)
Instantiate a new scalar for the class of this vector.Methods in org.djunits.value.vdouble.vector that return types with arguments of type Length Modifier and Type Method Description Class<Length>
LengthVector. getScalarClass()
Return the class of the corresponding scalar.