Package org.djunits.value.vfloat.scalar
Class FloatSIScalar
java.lang.Object
java.lang.Number
org.djunits.value.AbstractScalar<U,S>
org.djunits.value.vfloat.scalar.base.AbstractFloatScalar<U,R>
org.djunits.value.vfloat.scalar.base.AbstractFloatScalarRel<SIUnit,FloatSIScalar>
org.djunits.value.vfloat.scalar.FloatSIScalar
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<FloatSIScalar>
,Scalar<SIUnit,FloatSIScalar>
,Scalar.Rel<SIUnit,FloatSIScalar>
,ValueFunctions<SIUnit,FloatSIScalar>
,Relative<SIUnit,FloatSIScalar>
,Value<SIUnit,FloatSIScalar>
,FloatScalarInterface<SIUnit,FloatSIScalar>
,FloatScalarInterface.Rel<SIUnit,FloatSIScalar>
@Generated(value="org.djunits.generator.GenerateDJUNIT", date="2020-01-19T15:21:24.964166400Z") public class FloatSIScalar extends AbstractFloatScalarRel<SIUnit,FloatSIScalar>
Easy access methods for the generic Relative SI FloatScalar.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.djunits.value.vfloat.scalar.base.FloatScalarInterface
FloatScalarInterface.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends FloatScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>>, FloatScalarInterface.Rel<U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>, FloatScalarInterface.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends FloatScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>>
Nested classes/interfaces inherited from interface org.djunits.value.base.Scalar
Scalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>, Scalar.Rel<U extends Unit<U>,R extends Scalar.Rel<U,R>>, Scalar.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FloatSIScalar(float value, SIUnit unit)
Construct SI scalar.FloatSIScalar(FloatSIScalar value)
Construct SI scalar. -
Method Summary
Modifier and Type Method Description <U extends Unit<U>, S extends AbstractFloatScalarRel<U, S>>
Sas(U displayUnit)
Return the current scalar transformed to a scalar in the given unit.FloatAbsorbedDose
asAbsorbedDose()
Return the current scalar as a absorbeddose.FloatAbsorbedDose
asAbsorbedDose(AbsorbedDoseUnit displayUnit)
Return the current scalar as a absorbeddose, and provide a display unit.FloatAcceleration
asAcceleration()
Return the current scalar as a acceleration.FloatAcceleration
asAcceleration(AccelerationUnit displayUnit)
Return the current scalar as a acceleration, and provide a display unit.FloatAmountOfSubstance
asAmountOfSubstance()
Return the current scalar as a amountofsubstance.FloatAmountOfSubstance
asAmountOfSubstance(AmountOfSubstanceUnit displayUnit)
Return the current scalar as a amountofsubstance, and provide a display unit.FloatAngle
asAngle()
Return the current scalar as a angle.FloatAngle
asAngle(AngleUnit displayUnit)
Return the current scalar as a angle, and provide a display unit.FloatAngularAcceleration
asAngularAcceleration()
Return the current scalar as a angularacceleration.FloatAngularAcceleration
asAngularAcceleration(AngularAccelerationUnit displayUnit)
Return the current scalar as a angularacceleration, and provide a display unit.FloatAngularVelocity
asAngularVelocity()
Return the current scalar as a angularvelocity.FloatAngularVelocity
asAngularVelocity(AngularVelocityUnit displayUnit)
Return the current scalar as a angularvelocity, and provide a display unit.FloatArea
asArea()
Return the current scalar as a area.FloatArea
asArea(AreaUnit displayUnit)
Return the current scalar as a area, and provide a display unit.FloatCatalyticActivity
asCatalyticActivity()
Return the current scalar as a catalyticactivity.FloatCatalyticActivity
asCatalyticActivity(CatalyticActivityUnit displayUnit)
Return the current scalar as a catalyticactivity, and provide a display unit.FloatDensity
asDensity()
Return the current scalar as a density.FloatDensity
asDensity(DensityUnit displayUnit)
Return the current scalar as a density, and provide a display unit.FloatDimensionless
asDimensionless()
Return the current scalar as a dimensionless.FloatDimensionless
asDimensionless(DimensionlessUnit displayUnit)
Return the current scalar as a dimensionless, and provide a display unit.FloatDuration
asDuration()
Return the current scalar as a duration.FloatDuration
asDuration(DurationUnit displayUnit)
Return the current scalar as a duration, and provide a display unit.FloatElectricalCapacitance
asElectricalCapacitance()
Return the current scalar as a electricalcapacitance.FloatElectricalCapacitance
asElectricalCapacitance(ElectricalCapacitanceUnit displayUnit)
Return the current scalar as a electricalcapacitance, and provide a display unit.FloatElectricalCharge
asElectricalCharge()
Return the current scalar as a electricalcharge.FloatElectricalCharge
asElectricalCharge(ElectricalChargeUnit displayUnit)
Return the current scalar as a electricalcharge, and provide a display unit.FloatElectricalConductance
asElectricalConductance()
Return the current scalar as a electricalconductance.FloatElectricalConductance
asElectricalConductance(ElectricalConductanceUnit displayUnit)
Return the current scalar as a electricalconductance, and provide a display unit.FloatElectricalCurrent
asElectricalCurrent()
Return the current scalar as a electricalcurrent.FloatElectricalCurrent
asElectricalCurrent(ElectricalCurrentUnit displayUnit)
Return the current scalar as a electricalcurrent, and provide a display unit.FloatElectricalInductance
asElectricalInductance()
Return the current scalar as a electricalinductance.FloatElectricalInductance
asElectricalInductance(ElectricalInductanceUnit displayUnit)
Return the current scalar as a electricalinductance, and provide a display unit.FloatElectricalPotential
asElectricalPotential()
Return the current scalar as a electricalpotential.FloatElectricalPotential
asElectricalPotential(ElectricalPotentialUnit displayUnit)
Return the current scalar as a electricalpotential, and provide a display unit.FloatElectricalResistance
asElectricalResistance()
Return the current scalar as a electricalresistance.FloatElectricalResistance
asElectricalResistance(ElectricalResistanceUnit displayUnit)
Return the current scalar as a electricalresistance, and provide a display unit.FloatEnergy
asEnergy()
Return the current scalar as a energy.FloatEnergy
asEnergy(EnergyUnit displayUnit)
Return the current scalar as a energy, and provide a display unit.FloatEquivalentDose
asEquivalentDose()
Return the current scalar as a equivalentdose.FloatEquivalentDose
asEquivalentDose(EquivalentDoseUnit displayUnit)
Return the current scalar as a equivalentdose, and provide a display unit.FloatFlowMass
asFlowMass()
Return the current scalar as a flowmass.FloatFlowMass
asFlowMass(FlowMassUnit displayUnit)
Return the current scalar as a flowmass, and provide a display unit.FloatFlowVolume
asFlowVolume()
Return the current scalar as a flowvolume.FloatFlowVolume
asFlowVolume(FlowVolumeUnit displayUnit)
Return the current scalar as a flowvolume, and provide a display unit.FloatForce
asForce()
Return the current scalar as a force.FloatForce
asForce(ForceUnit displayUnit)
Return the current scalar as a force, and provide a display unit.FloatFrequency
asFrequency()
Return the current scalar as a frequency.FloatFrequency
asFrequency(FrequencyUnit displayUnit)
Return the current scalar as a frequency, and provide a display unit.FloatIlluminance
asIlluminance()
Return the current scalar as a illuminance.FloatIlluminance
asIlluminance(IlluminanceUnit displayUnit)
Return the current scalar as a illuminance, and provide a display unit.FloatLength
asLength()
Return the current scalar as a length.FloatLength
asLength(LengthUnit displayUnit)
Return the current scalar as a length, and provide a display unit.FloatLinearDensity
asLinearDensity()
Return the current scalar as a lineardensity.FloatLinearDensity
asLinearDensity(LinearDensityUnit displayUnit)
Return the current scalar as a lineardensity, and provide a display unit.FloatLuminousFlux
asLuminousFlux()
Return the current scalar as a luminousflux.FloatLuminousFlux
asLuminousFlux(LuminousFluxUnit displayUnit)
Return the current scalar as a luminousflux, and provide a display unit.FloatLuminousIntensity
asLuminousIntensity()
Return the current scalar as a luminousintensity.FloatLuminousIntensity
asLuminousIntensity(LuminousIntensityUnit displayUnit)
Return the current scalar as a luminousintensity, and provide a display unit.FloatMagneticFlux
asMagneticFlux()
Return the current scalar as a magneticflux.FloatMagneticFlux
asMagneticFlux(MagneticFluxUnit displayUnit)
Return the current scalar as a magneticflux, and provide a display unit.FloatMagneticFluxDensity
asMagneticFluxDensity()
Return the current scalar as a magneticfluxdensity.FloatMagneticFluxDensity
asMagneticFluxDensity(MagneticFluxDensityUnit displayUnit)
Return the current scalar as a magneticfluxdensity, and provide a display unit.FloatMass
asMass()
Return the current scalar as a mass.FloatMass
asMass(MassUnit displayUnit)
Return the current scalar as a mass, and provide a display unit.FloatMomentum
asMomentum()
Return the current scalar as a momentum.FloatMomentum
asMomentum(MomentumUnit displayUnit)
Return the current scalar as a momentum, and provide a display unit.FloatPower
asPower()
Return the current scalar as a power.FloatPower
asPower(PowerUnit displayUnit)
Return the current scalar as a power, and provide a display unit.FloatPressure
asPressure()
Return the current scalar as a pressure.FloatPressure
asPressure(PressureUnit displayUnit)
Return the current scalar as a pressure, and provide a display unit.FloatRadioActivity
asRadioActivity()
Return the current scalar as a radioactivity.FloatRadioActivity
asRadioActivity(RadioActivityUnit displayUnit)
Return the current scalar as a radioactivity, and provide a display unit.FloatSolidAngle
asSolidAngle()
Return the current scalar as a solidangle.FloatSolidAngle
asSolidAngle(SolidAngleUnit displayUnit)
Return the current scalar as a solidangle, and provide a display unit.FloatSpeed
asSpeed()
Return the current scalar as a speed.FloatSpeed
asSpeed(SpeedUnit displayUnit)
Return the current scalar as a speed, and provide a display unit.FloatTemperature
asTemperature()
Return the current scalar as a temperature.FloatTemperature
asTemperature(TemperatureUnit displayUnit)
Return the current scalar as a temperature, and provide a display unit.FloatTorque
asTorque()
Return the current scalar as a torque.FloatTorque
asTorque(TorqueUnit displayUnit)
Return the current scalar as a torque, and provide a display unit.FloatVolume
asVolume()
Return the current scalar as a volume.FloatVolume
asVolume(VolumeUnit displayUnit)
Return the current scalar as a volume, and provide a display unit.FloatSIScalar
instantiateRel(float value, SIUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.static FloatSIScalar
instantiateSI(float value, SIUnit unit)
Construct SI scalar.static FloatSIScalar
interpolate(FloatSIScalar zero, FloatSIScalar one, float ratio)
Interpolate between two values.static FloatSIScalar
max(FloatSIScalar r1, FloatSIScalar r2)
Return the maximum value of two relative scalars.static FloatSIScalar
max(FloatSIScalar r1, FloatSIScalar r2, FloatSIScalar... rn)
Return the maximum value of more than two relative scalars.static FloatSIScalar
min(FloatSIScalar r1, FloatSIScalar r2)
Return the minimum value of two relative scalars.static FloatSIScalar
min(FloatSIScalar r1, FloatSIScalar r2, FloatSIScalar... rn)
Return the minimum value of more than two relative scalars.static FloatSIScalar
of(float value, String unitString)
Returns an FloatSIScalar based on a value and the textual representation of the unit.static FloatSIScalar
valueOf(String text)
Returns an FloatSIScalar representation of a textual representation of a value with a unit.Methods inherited from class org.djunits.value.vfloat.scalar.base.AbstractFloatScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, reciprocal, rint, times, times, times
Methods inherited from class org.djunits.value.vfloat.scalar.base.AbstractFloatScalar
compareTo, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, intValue, le, le0, longValue, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toString, toString, toString, toString, toTextualString, toTextualString
Methods inherited from class org.djunits.value.AbstractScalar
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.djunits.value.vfloat.scalar.base.FloatScalarInterface
getInUnit, getInUnit, getSI
Methods inherited from interface org.djunits.value.base.Scalar
eq, eq0, ge, ge0, gt, gt0, le, le0, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toTextualString, toTextualString
Methods inherited from interface org.djunits.value.Value
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit, toString, toString, toString, toString
-
Constructor Details
-
FloatSIScalar
Construct SI scalar.- Parameters:
value
- float; the float valueunit
- SIUnit; unit for the float value
-
FloatSIScalar
Construct SI scalar.- Parameters:
value
- FloatSIScalar; Scalar from which to construct this instance
-
-
Method Details
-
instantiateRel
Construct a new Relative Immutable FloatScalar of the right type. Each extending class must implement this method.- Parameters:
value
- float; the float valueunit
- U; the unit- Returns:
- R a new relative instance of the FloatScalar of the right type
-
instantiateSI
Construct SI scalar.- Parameters:
value
- float; the float value in SI unitsunit
- SIUnit; the unit to use for the SI scalar- Returns:
- FloatSIScalar; the new scalar with the SI value
-
interpolate
Interpolate between two values.- Parameters:
zero
- FloatSIScalar; the low valueone
- FloatSIScalar; the high valueratio
- float; the ratio between 0 and 1, inclusive- Returns:
- FloatSIScalar; a Scalar at the ratio between
-
max
Return the maximum value of two relative scalars.- Parameters:
r1
- FloatSIScalar; the first scalarr2
- FloatSIScalar; the second scalar- Returns:
- FloatSIScalar; the maximum value of two relative scalars
-
max
Return the maximum value of more than two relative scalars.- Parameters:
r1
- FloatSIScalar; the first scalarr2
- FloatSIScalar; the second scalarrn
- FloatSIScalar...; the other scalars- Returns:
- FloatSIScalar; the maximum value of more than two relative scalars
-
min
Return the minimum value of two relative scalars.- Parameters:
r1
- FloatSIScalar; the first scalarr2
- FloatSIScalar; the second scalar- Returns:
- FloatSIScalar; the minimum value of two relative scalars
-
min
Return the minimum value of more than two relative scalars.- Parameters:
r1
- FloatSIScalar; the first scalarr2
- FloatSIScalar; the second scalarrn
- FloatSIScalar...; the other scalars- Returns:
- FloatSIScalar; the minimum value of more than two relative scalars
-
valueOf
Returns an FloatSIScalar representation of a textual representation of a value with a unit. The String representation that can be parsed is the float value in the unit, followed by the official abbreviation of the unit. Spaces are allowed, but not required, between the value and the unit.- Parameters:
text
- String; the textual representation to parse into a FloatSIScalar- Returns:
- FloatSIScalar; the Scalar representation of the value in its unit
- Throws:
IllegalArgumentException
- when the text cannot be parsedNullPointerException
- when the text argument is null
-
of
Returns an FloatSIScalar based on a value and the textual representation of the unit.- Parameters:
value
- float; the value to useunitString
- String; the textual representation of the unit- Returns:
- FloatSIScalar; the Scalar representation of the value in its unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
as
Return the current scalar transformed to a scalar in the given unit. Of course the SI dimensionality has to match, otherwise the scalar cannot be transformed. The compiler will check the alignment between the return value and the unit.- Type Parameters:
U
- the unit typeS
- the scalar type- Parameters:
displayUnit
- KU; the unit in which the scalar needs to be expressed- Returns:
- S; the scalar that has been transformed into the right scalar type and unit
-
asAbsorbedDose
Return the current scalar as a absorbeddose.- Returns:
- FloatAbsorbedDose; the current scalar as a absorbeddose
-
asAbsorbedDose
Return the current scalar as a absorbeddose, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAbsorbedDose; the current scalar as a absorbeddose
-
asAcceleration
Return the current scalar as a acceleration.- Returns:
- FloatAcceleration; the current scalar as a acceleration
-
asAcceleration
Return the current scalar as a acceleration, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAcceleration; the current scalar as a acceleration
-
asAmountOfSubstance
Return the current scalar as a amountofsubstance.- Returns:
- FloatAmountOfSubstance; the current scalar as a amountofsubstance
-
asAmountOfSubstance
Return the current scalar as a amountofsubstance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAmountOfSubstance; the current scalar as a amountofsubstance
-
asAngularAcceleration
Return the current scalar as a angularacceleration.- Returns:
- FloatAngularAcceleration; the current scalar as a angularacceleration
-
asAngularAcceleration
Return the current scalar as a angularacceleration, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngularAcceleration; the current scalar as a angularacceleration
-
asAngularVelocity
Return the current scalar as a angularvelocity.- Returns:
- FloatAngularVelocity; the current scalar as a angularvelocity
-
asAngularVelocity
Return the current scalar as a angularvelocity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngularVelocity; the current scalar as a angularvelocity
-
asArea
Return the current scalar as a area.- Returns:
- FloatArea; the current scalar as a area
-
asArea
Return the current scalar as a area, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatArea; the current scalar as a area
-
asCatalyticActivity
Return the current scalar as a catalyticactivity.- Returns:
- FloatCatalyticActivity; the current scalar as a catalyticactivity
-
asCatalyticActivity
Return the current scalar as a catalyticactivity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatCatalyticActivity; the current scalar as a catalyticactivity
-
asDensity
Return the current scalar as a density.- Returns:
- FloatDensity; the current scalar as a density
-
asDensity
Return the current scalar as a density, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDensity; the current scalar as a density
-
asDimensionless
Return the current scalar as a dimensionless.- Returns:
- FloatDimensionless; the current scalar as a dimensionless
-
asDimensionless
Return the current scalar as a dimensionless, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDimensionless; the current scalar as a dimensionless
-
asElectricalCapacitance
Return the current scalar as a electricalcapacitance.- Returns:
- FloatElectricalCapacitance; the current scalar as a electricalcapacitance
-
asElectricalCapacitance
public final FloatElectricalCapacitance asElectricalCapacitance(ElectricalCapacitanceUnit displayUnit)Return the current scalar as a electricalcapacitance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalCapacitance; the current scalar as a electricalcapacitance
-
asElectricalCharge
Return the current scalar as a electricalcharge.- Returns:
- FloatElectricalCharge; the current scalar as a electricalcharge
-
asElectricalCharge
Return the current scalar as a electricalcharge, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalCharge; the current scalar as a electricalcharge
-
asElectricalConductance
Return the current scalar as a electricalconductance.- Returns:
- FloatElectricalConductance; the current scalar as a electricalconductance
-
asElectricalConductance
public final FloatElectricalConductance asElectricalConductance(ElectricalConductanceUnit displayUnit)Return the current scalar as a electricalconductance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalConductance; the current scalar as a electricalconductance
-
asElectricalCurrent
Return the current scalar as a electricalcurrent.- Returns:
- FloatElectricalCurrent; the current scalar as a electricalcurrent
-
asElectricalCurrent
Return the current scalar as a electricalcurrent, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalCurrent; the current scalar as a electricalcurrent
-
asElectricalInductance
Return the current scalar as a electricalinductance.- Returns:
- FloatElectricalInductance; the current scalar as a electricalinductance
-
asElectricalInductance
public final FloatElectricalInductance asElectricalInductance(ElectricalInductanceUnit displayUnit)Return the current scalar as a electricalinductance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalInductance; the current scalar as a electricalinductance
-
asElectricalPotential
Return the current scalar as a electricalpotential.- Returns:
- FloatElectricalPotential; the current scalar as a electricalpotential
-
asElectricalPotential
Return the current scalar as a electricalpotential, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalPotential; the current scalar as a electricalpotential
-
asElectricalResistance
Return the current scalar as a electricalresistance.- Returns:
- FloatElectricalResistance; the current scalar as a electricalresistance
-
asElectricalResistance
public final FloatElectricalResistance asElectricalResistance(ElectricalResistanceUnit displayUnit)Return the current scalar as a electricalresistance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalResistance; the current scalar as a electricalresistance
-
asEnergy
Return the current scalar as a energy.- Returns:
- FloatEnergy; the current scalar as a energy
-
asEnergy
Return the current scalar as a energy, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatEnergy; the current scalar as a energy
-
asEquivalentDose
Return the current scalar as a equivalentdose.- Returns:
- FloatEquivalentDose; the current scalar as a equivalentdose
-
asEquivalentDose
Return the current scalar as a equivalentdose, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatEquivalentDose; the current scalar as a equivalentdose
-
asFlowMass
Return the current scalar as a flowmass.- Returns:
- FloatFlowMass; the current scalar as a flowmass
-
asFlowMass
Return the current scalar as a flowmass, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFlowMass; the current scalar as a flowmass
-
asFlowVolume
Return the current scalar as a flowvolume.- Returns:
- FloatFlowVolume; the current scalar as a flowvolume
-
asFlowVolume
Return the current scalar as a flowvolume, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFlowVolume; the current scalar as a flowvolume
-
asForce
Return the current scalar as a force.- Returns:
- FloatForce; the current scalar as a force
-
asForce
Return the current scalar as a force, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatForce; the current scalar as a force
-
asFrequency
Return the current scalar as a frequency.- Returns:
- FloatFrequency; the current scalar as a frequency
-
asFrequency
Return the current scalar as a frequency, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFrequency; the current scalar as a frequency
-
asIlluminance
Return the current scalar as a illuminance.- Returns:
- FloatIlluminance; the current scalar as a illuminance
-
asIlluminance
Return the current scalar as a illuminance, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatIlluminance; the current scalar as a illuminance
-
asLinearDensity
Return the current scalar as a lineardensity.- Returns:
- FloatLinearDensity; the current scalar as a lineardensity
-
asLinearDensity
Return the current scalar as a lineardensity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLinearDensity; the current scalar as a lineardensity
-
asLuminousFlux
Return the current scalar as a luminousflux.- Returns:
- FloatLuminousFlux; the current scalar as a luminousflux
-
asLuminousFlux
Return the current scalar as a luminousflux, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLuminousFlux; the current scalar as a luminousflux
-
asLuminousIntensity
Return the current scalar as a luminousintensity.- Returns:
- FloatLuminousIntensity; the current scalar as a luminousintensity
-
asLuminousIntensity
Return the current scalar as a luminousintensity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLuminousIntensity; the current scalar as a luminousintensity
-
asMagneticFluxDensity
Return the current scalar as a magneticfluxdensity.- Returns:
- FloatMagneticFluxDensity; the current scalar as a magneticfluxdensity
-
asMagneticFluxDensity
Return the current scalar as a magneticfluxdensity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMagneticFluxDensity; the current scalar as a magneticfluxdensity
-
asMagneticFlux
Return the current scalar as a magneticflux.- Returns:
- FloatMagneticFlux; the current scalar as a magneticflux
-
asMagneticFlux
Return the current scalar as a magneticflux, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMagneticFlux; the current scalar as a magneticflux
-
asMass
Return the current scalar as a mass.- Returns:
- FloatMass; the current scalar as a mass
-
asMass
Return the current scalar as a mass, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMass; the current scalar as a mass
-
asMomentum
Return the current scalar as a momentum.- Returns:
- FloatMomentum; the current scalar as a momentum
-
asMomentum
Return the current scalar as a momentum, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMomentum; the current scalar as a momentum
-
asPower
Return the current scalar as a power.- Returns:
- FloatPower; the current scalar as a power
-
asPower
Return the current scalar as a power, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatPower; the current scalar as a power
-
asPressure
Return the current scalar as a pressure.- Returns:
- FloatPressure; the current scalar as a pressure
-
asPressure
Return the current scalar as a pressure, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatPressure; the current scalar as a pressure
-
asRadioActivity
Return the current scalar as a radioactivity.- Returns:
- FloatRadioActivity; the current scalar as a radioactivity
-
asRadioActivity
Return the current scalar as a radioactivity, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatRadioActivity; the current scalar as a radioactivity
-
asSolidAngle
Return the current scalar as a solidangle.- Returns:
- FloatSolidAngle; the current scalar as a solidangle
-
asSolidAngle
Return the current scalar as a solidangle, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatSolidAngle; the current scalar as a solidangle
-
asSpeed
Return the current scalar as a speed.- Returns:
- FloatSpeed; the current scalar as a speed
-
asSpeed
Return the current scalar as a speed, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatSpeed; the current scalar as a speed
-
asTorque
Return the current scalar as a torque.- Returns:
- FloatTorque; the current scalar as a torque
-
asTorque
Return the current scalar as a torque, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatTorque; the current scalar as a torque
-
asVolume
Return the current scalar as a volume.- Returns:
- FloatVolume; the current scalar as a volume
-
asVolume
Return the current scalar as a volume, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatVolume; the current scalar as a volume
-
asAngle
Return the current scalar as a angle.- Returns:
- FloatAngle; the current scalar as a angle
-
asAngle
Return the current scalar as a angle, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngle; the current scalar as a angle
-
asLength
Return the current scalar as a length.- Returns:
- FloatLength; the current scalar as a length
-
asLength
Return the current scalar as a length, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLength; the current scalar as a length
-
asTemperature
Return the current scalar as a temperature.- Returns:
- FloatTemperature; the current scalar as a temperature
-
asTemperature
Return the current scalar as a temperature, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatTemperature; the current scalar as a temperature
-
asDuration
Return the current scalar as a duration.- Returns:
- FloatDuration; the current scalar as a duration
-
asDuration
Return the current scalar as a duration, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDuration; the current scalar as a duration
-