Package org.djunits.value.vfloat.scalar
Class FloatSIScalar
java.lang.Object
java.lang.Number
org.djunits.value.base.Scalar<U,S>
org.djunits.value.vfloat.scalar.base.FloatScalar<U,R>
org.djunits.value.vfloat.scalar.base.FloatScalarRel<SIUnit,FloatSIScalar>
org.djunits.value.vfloat.scalar.FloatSIScalar
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<FloatSIScalar>,Relative<SIUnit,,FloatSIScalar> Value<SIUnit,FloatSIScalar>
@Generated(value="org.djunits.generator.GenerateDJUNIT",
date="2025-09-06T15:16:28.380798Z")
public class FloatSIScalar
extends FloatScalarRel<SIUnit,FloatSIScalar>
Easy access methods for the generic Relative SI FloatScalar.
Copyright (c) 2013-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Field Summary
Fields inherited from class org.djunits.value.vfloat.scalar.base.FloatScalar
si -
Constructor Summary
ConstructorsConstructorDescriptionFloatSIScalar(float value, SIUnit unit) Construct SI scalar.FloatSIScalar(FloatSIScalar value) Construct SI scalar. -
Method Summary
Modifier and TypeMethodDescriptionfinal <U extends Unit<U>,S extends FloatScalarRel<U, S>>
Sas(U displayUnit) Return the current scalar transformed to a scalar in the given unit.final FloatAbsorbedDoseReturn the current scalar as a absorbeddose.final FloatAbsorbedDoseasAbsorbedDose(AbsorbedDoseUnit displayUnit) Return the current scalar as a absorbeddose, and provide a display unit.final FloatAccelerationReturn the current scalar as a acceleration.final FloatAccelerationasAcceleration(AccelerationUnit displayUnit) Return the current scalar as a acceleration, and provide a display unit.final FloatAmountOfSubstanceReturn the current scalar as a amountofsubstance.final FloatAmountOfSubstanceasAmountOfSubstance(AmountOfSubstanceUnit displayUnit) Return the current scalar as a amountofsubstance, and provide a display unit.final FloatAngleasAngle()Return the current scalar as a angle.final FloatAngleReturn the current scalar as a angle, and provide a display unit.final FloatAngularAccelerationReturn the current scalar as a angularacceleration.final FloatAngularAccelerationasAngularAcceleration(AngularAccelerationUnit displayUnit) Return the current scalar as a angularacceleration, and provide a display unit.final FloatAngularVelocityReturn the current scalar as a angularvelocity.final FloatAngularVelocityasAngularVelocity(AngularVelocityUnit displayUnit) Return the current scalar as a angularvelocity, and provide a display unit.final FloatAreaasArea()Return the current scalar as a area.final FloatAreaReturn the current scalar as a area, and provide a display unit.final FloatCatalyticActivityReturn the current scalar as a catalyticactivity.final FloatCatalyticActivityasCatalyticActivity(CatalyticActivityUnit displayUnit) Return the current scalar as a catalyticactivity, and provide a display unit.final FloatDensityReturn the current scalar as a density.final FloatDensityasDensity(DensityUnit displayUnit) Return the current scalar as a density, and provide a display unit.final FloatDimensionlessReturn the current scalar as a dimensionless.final FloatDimensionlessasDimensionless(DimensionlessUnit displayUnit) Return the current scalar as a dimensionless, and provide a display unit.final FloatDurationReturn the current scalar as a duration.final FloatDurationasDuration(DurationUnit displayUnit) Return the current scalar as a duration, and provide a display unit.Return the current scalar as a electricalcapacitance.asElectricalCapacitance(ElectricalCapacitanceUnit displayUnit) Return the current scalar as a electricalcapacitance, and provide a display unit.final FloatElectricalChargeReturn the current scalar as a electricalcharge.final FloatElectricalChargeasElectricalCharge(ElectricalChargeUnit displayUnit) Return the current scalar as a electricalcharge, and provide a display unit.Return the current scalar as a electricalconductance.asElectricalConductance(ElectricalConductanceUnit displayUnit) Return the current scalar as a electricalconductance, and provide a display unit.final FloatElectricalCurrentReturn the current scalar as a electricalcurrent.final FloatElectricalCurrentasElectricalCurrent(ElectricalCurrentUnit displayUnit) Return the current scalar as a electricalcurrent, and provide a display unit.Return the current scalar as a electricalinductance.asElectricalInductance(ElectricalInductanceUnit displayUnit) Return the current scalar as a electricalinductance, and provide a display unit.final FloatElectricalPotentialReturn the current scalar as a electricalpotential.final FloatElectricalPotentialasElectricalPotential(ElectricalPotentialUnit displayUnit) Return the current scalar as a electricalpotential, and provide a display unit.Return the current scalar as a electricalresistance.asElectricalResistance(ElectricalResistanceUnit displayUnit) Return the current scalar as a electricalresistance, and provide a display unit.final FloatEnergyasEnergy()Return the current scalar as a energy.final FloatEnergyasEnergy(EnergyUnit displayUnit) Return the current scalar as a energy, and provide a display unit.final FloatEquivalentDoseReturn the current scalar as a equivalentdose.final FloatEquivalentDoseasEquivalentDose(EquivalentDoseUnit displayUnit) Return the current scalar as a equivalentdose, and provide a display unit.final FloatFlowMassReturn the current scalar as a flowmass.final FloatFlowMassasFlowMass(FlowMassUnit displayUnit) Return the current scalar as a flowmass, and provide a display unit.final FloatFlowVolumeReturn the current scalar as a flowvolume.final FloatFlowVolumeasFlowVolume(FlowVolumeUnit displayUnit) Return the current scalar as a flowvolume, and provide a display unit.final FloatForceasForce()Return the current scalar as a force.final FloatForceReturn the current scalar as a force, and provide a display unit.final FloatFrequencyReturn the current scalar as a frequency.final FloatFrequencyasFrequency(FrequencyUnit displayUnit) Return the current scalar as a frequency, and provide a display unit.final FloatIlluminanceReturn the current scalar as a illuminance.final FloatIlluminanceasIlluminance(IlluminanceUnit displayUnit) Return the current scalar as a illuminance, and provide a display unit.final FloatLengthasLength()Return the current scalar as a length.final FloatLengthasLength(LengthUnit displayUnit) Return the current scalar as a length, and provide a display unit.final FloatLinearDensityReturn the current scalar as a lineardensity.final FloatLinearDensityasLinearDensity(LinearDensityUnit displayUnit) Return the current scalar as a lineardensity, and provide a display unit.final FloatLuminousFluxReturn the current scalar as a luminousflux.final FloatLuminousFluxasLuminousFlux(LuminousFluxUnit displayUnit) Return the current scalar as a luminousflux, and provide a display unit.final FloatLuminousIntensityReturn the current scalar as a luminousintensity.final FloatLuminousIntensityasLuminousIntensity(LuminousIntensityUnit displayUnit) Return the current scalar as a luminousintensity, and provide a display unit.final FloatMagneticFluxReturn the current scalar as a magneticflux.final FloatMagneticFluxasMagneticFlux(MagneticFluxUnit displayUnit) Return the current scalar as a magneticflux, and provide a display unit.final FloatMagneticFluxDensityReturn the current scalar as a magneticfluxdensity.final FloatMagneticFluxDensityasMagneticFluxDensity(MagneticFluxDensityUnit displayUnit) Return the current scalar as a magneticfluxdensity, and provide a display unit.final FloatMassasMass()Return the current scalar as a mass.final FloatMassReturn the current scalar as a mass, and provide a display unit.final FloatMomentumReturn the current scalar as a momentum.final FloatMomentumasMomentum(MomentumUnit displayUnit) Return the current scalar as a momentum, and provide a display unit.final FloatPowerasPower()Return the current scalar as a power.final FloatPowerReturn the current scalar as a power, and provide a display unit.final FloatPressureReturn the current scalar as a pressure.final FloatPressureasPressure(PressureUnit displayUnit) Return the current scalar as a pressure, and provide a display unit.final FloatRadioActivityReturn the current scalar as a radioactivity.final FloatRadioActivityasRadioActivity(RadioActivityUnit displayUnit) Return the current scalar as a radioactivity, and provide a display unit.final FloatSolidAngleReturn the current scalar as a solidangle.final FloatSolidAngleasSolidAngle(SolidAngleUnit displayUnit) Return the current scalar as a solidangle, and provide a display unit.final FloatSpeedasSpeed()Return the current scalar as a speed.final FloatSpeedReturn the current scalar as a speed, and provide a display unit.final FloatTemperatureReturn the current scalar as a temperature.final FloatTemperatureasTemperature(TemperatureUnit displayUnit) Return the current scalar as a temperature, and provide a display unit.final FloatTorqueasTorque()Return the current scalar as a torque.final FloatTorqueasTorque(TorqueUnit displayUnit) Return the current scalar as a torque, and provide a display unit.final FloatVolumeasVolume()Return the current scalar as a volume.final FloatVolumeasVolume(VolumeUnit displayUnit) Return the current scalar as a volume, and provide a display unit.static FloatSIScalardivide(FloatScalarRel<?, ?> left, FloatScalarRel<?, ?> right) Divide two values; the result is a new instance with a different (existing or generated) SI unit.static <U extends Unit<U>,S extends FloatScalar<U, S>>
Sinstantiate(float value, U unit) Instantiate the FloatScalar based on its unit.static <S extends FloatScalar<?,S>>
SinstantiateAnonymous(float value, Unit<?> unit) Instantiate the FloatScalar based on its unit.final FloatSIScalarinstantiateRel(float value, SIUnit unit) Construct a new Relative Immutable FloatScalar of the right type.static FloatSIScalarinterpolate(FloatSIScalar zero, FloatSIScalar one, float ratio) Interpolate between two values.static FloatSIScalarmax(FloatSIScalar r1, FloatSIScalar r2) Return the maximum value of two relative scalars.static FloatSIScalarmax(FloatSIScalar r1, FloatSIScalar r2, FloatSIScalar... rn) Return the maximum value of more than two relative scalars.static FloatSIScalarmin(FloatSIScalar r1, FloatSIScalar r2) Return the minimum value of two relative scalars.static FloatSIScalarmin(FloatSIScalar r1, FloatSIScalar r2, FloatSIScalar... rn) Return the minimum value of more than two relative scalars.static FloatSIScalarmultiply(FloatScalarRel<?, ?> left, FloatScalarRel<?, ?> right) Multiply two values; the result is a new instance with a different (existing or generated) SI unit.static FloatSIScalarReturns an FloatSIScalar based on a value and the textual representation of the unit.static final FloatSIScalarConstruct SI scalar.Create the reciprocal of this scalar with the correct dimensions.Somewhat verbose description of this value with the values expressed in the specified unit.static FloatSIScalarReturns an FloatSIScalar representation of a textual representation of a value with a unit.Methods inherited from class org.djunits.value.vfloat.scalar.base.FloatScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, rint, times, times, timesMethods inherited from class org.djunits.value.vfloat.scalar.base.FloatScalar
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, toStringSIPrefixed, toStringSIPrefixed, toTextualString, toTextualStringMethods inherited from class org.djunits.value.base.Scalar
format, format, getDisplayUnit, setDisplayUnitMethods inherited from class java.lang.Number
byteValue, shortValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.value.Value
isAbsolute, isRelative
-
Constructor Details
-
FloatSIScalar
Construct SI scalar.- Parameters:
value- the float valueunit- unit for the float value
-
FloatSIScalar
Construct SI scalar.- Parameters:
value- Scalar from which to construct this instance
-
-
Method Details
-
instantiateRel
Description copied from class:FloatScalarRelConstruct a new Relative Immutable FloatScalar of the right type. Each extending class must implement this method.- Specified by:
instantiateRelin classFloatScalarRel<SIUnit,FloatSIScalar> - Parameters:
value- the float valueunit- the unit- Returns:
- R a new relative instance of the FloatScalar of the right type
-
ofSI
Construct SI scalar.- Parameters:
value- the float value in SI unitsunit- the unit to use for the SI scalar- Returns:
- the new scalar with the SI value
-
interpolate
Interpolate between two values.- Parameters:
zero- the low valueone- the high valueratio- the ratio between 0 and 1, inclusive- Returns:
- a Scalar at the ratio between
-
max
Return the maximum value of two relative scalars.- Parameters:
r1- the first scalarr2- the second scalar- Returns:
- the maximum value of two relative scalars
-
max
Return the maximum value of more than two relative scalars.- Parameters:
r1- the first scalarr2- the second scalarrn- the other scalars- Returns:
- the maximum value of more than two relative scalars
-
min
Return the minimum value of two relative scalars.- Parameters:
r1- the first scalarr2- the second scalar- Returns:
- the minimum value of two relative scalars
-
min
Return the minimum value of more than two relative scalars.- Parameters:
r1- the first scalarr2- the second scalarrn- the other scalars- Returns:
- the minimum value of more than two relative scalars
-
multiply
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.- Parameters:
left- the left operandright- the right operand- Returns:
- the product of the two values
-
divide
Divide two values; the result is a new instance with a different (existing or generated) SI unit.- Parameters:
left- the left operandright- the right operand- Returns:
- the ratio of the two values
-
reciprocal
Description copied from class:FloatScalarRelCreate the reciprocal of this scalar with the correct dimensions.- Overrides:
reciprocalin classFloatScalarRel<SIUnit,FloatSIScalar> - Returns:
- a new scalar instance with correct SI dimensions
-
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- the textual representation to parse into a FloatSIScalar- Returns:
- 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- the value to useunitString- the textual representation of the unit- Returns:
- 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
-
toString
Description copied from interface:ValueSomewhat verbose description of this value with the values expressed in the specified unit.- Specified by:
toStringin interfaceValue<SIUnit,FloatSIScalar> - Overrides:
toStringin classFloatScalar<SIUnit,FloatSIScalar> - Parameters:
displayUnit- the unit into which the values are converted for displayverbose- if true; include type info; if false; exclude type infowithUnit- if true; include the unit; of false; exclude the unit- Returns:
- printable string with the value contents
-
instantiate
Instantiate the FloatScalar based on its unit. Rigid check on types by the compiler.- Type Parameters:
U- the unitS- the return type- Parameters:
value- the valueunit- the unit in which the value is expressed- Returns:
- an instantiated FloatScalar with the value expressed in the unit
-
instantiateAnonymous
Instantiate the FloatScalar based on its unit. Loose check for types on the compiler. This allows the unit to be specified as a Unit<?> type.
Note that it is possible to make mistakes with anonymous units.- Type Parameters:
S- the return type- Parameters:
value- the valueunit- the unit in which the value is expressed- Returns:
- an instantiated FloatScalar with the value expressed in the unit
-
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- the unit in which the scalar needs to be expressed- Returns:
- the scalar that has been transformed into the right scalar type and unit
-
asAbsorbedDose
Return the current scalar as a absorbeddose.- Returns:
- 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:
- the current scalar as a absorbeddose
-
asAcceleration
Return the current scalar as a acceleration.- Returns:
- 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:
- the current scalar as a acceleration
-
asAmountOfSubstance
Return the current scalar as a amountofsubstance.- Returns:
- 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:
- the current scalar as a amountofsubstance
-
asAngularAcceleration
Return the current scalar as a angularacceleration.- Returns:
- 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:
- the current scalar as a angularacceleration
-
asAngularVelocity
Return the current scalar as a angularvelocity.- Returns:
- 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:
- the current scalar as a angularvelocity
-
asArea
Return the current scalar as a area.- Returns:
- 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:
- the current scalar as a area
-
asCatalyticActivity
Return the current scalar as a catalyticactivity.- Returns:
- 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:
- the current scalar as a catalyticactivity
-
asDensity
Return the current scalar as a density.- Returns:
- 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:
- the current scalar as a density
-
asDimensionless
Return the current scalar as a dimensionless.- Returns:
- 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:
- the current scalar as a dimensionless
-
asElectricalCapacitance
Return the current scalar as a electricalcapacitance.- Returns:
- 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:
- the current scalar as a electricalcapacitance
-
asElectricalCharge
Return the current scalar as a electricalcharge.- Returns:
- 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:
- the current scalar as a electricalcharge
-
asElectricalConductance
Return the current scalar as a electricalconductance.- Returns:
- 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:
- the current scalar as a electricalconductance
-
asElectricalCurrent
Return the current scalar as a electricalcurrent.- Returns:
- 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:
- the current scalar as a electricalcurrent
-
asElectricalInductance
Return the current scalar as a electricalinductance.- Returns:
- the current scalar as a electricalinductance
-
asElectricalInductance
Return the current scalar as a electricalinductance, and provide a display unit.- Parameters:
displayUnit- the unit in which the value will be displayed- Returns:
- the current scalar as a electricalinductance
-
asElectricalPotential
Return the current scalar as a electricalpotential.- Returns:
- 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:
- the current scalar as a electricalpotential
-
asElectricalResistance
Return the current scalar as a electricalresistance.- Returns:
- the current scalar as a electricalresistance
-
asElectricalResistance
Return the current scalar as a electricalresistance, and provide a display unit.- Parameters:
displayUnit- the unit in which the value will be displayed- Returns:
- the current scalar as a electricalresistance
-
asEnergy
Return the current scalar as a energy.- Returns:
- 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:
- the current scalar as a energy
-
asEquivalentDose
Return the current scalar as a equivalentdose.- Returns:
- 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:
- the current scalar as a equivalentdose
-
asFlowMass
Return the current scalar as a flowmass.- Returns:
- 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:
- the current scalar as a flowmass
-
asFlowVolume
Return the current scalar as a flowvolume.- Returns:
- 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:
- the current scalar as a flowvolume
-
asForce
Return the current scalar as a force.- Returns:
- 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:
- the current scalar as a force
-
asFrequency
Return the current scalar as a frequency.- Returns:
- 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:
- the current scalar as a frequency
-
asIlluminance
Return the current scalar as a illuminance.- Returns:
- 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:
- the current scalar as a illuminance
-
asLinearDensity
Return the current scalar as a lineardensity.- Returns:
- 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:
- the current scalar as a lineardensity
-
asLuminousFlux
Return the current scalar as a luminousflux.- Returns:
- 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:
- the current scalar as a luminousflux
-
asLuminousIntensity
Return the current scalar as a luminousintensity.- Returns:
- 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:
- the current scalar as a luminousintensity
-
asMagneticFluxDensity
Return the current scalar as a magneticfluxdensity.- Returns:
- 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:
- the current scalar as a magneticfluxdensity
-
asMagneticFlux
Return the current scalar as a magneticflux.- Returns:
- 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:
- the current scalar as a magneticflux
-
asMass
Return the current scalar as a mass.- Returns:
- 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:
- the current scalar as a mass
-
asMomentum
Return the current scalar as a momentum.- Returns:
- 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:
- the current scalar as a momentum
-
asPower
Return the current scalar as a power.- Returns:
- 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:
- the current scalar as a power
-
asPressure
Return the current scalar as a pressure.- Returns:
- 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:
- the current scalar as a pressure
-
asRadioActivity
Return the current scalar as a radioactivity.- Returns:
- 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:
- the current scalar as a radioactivity
-
asSolidAngle
Return the current scalar as a solidangle.- Returns:
- 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:
- the current scalar as a solidangle
-
asSpeed
Return the current scalar as a speed.- Returns:
- 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:
- the current scalar as a speed
-
asTorque
Return the current scalar as a torque.- Returns:
- 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:
- the current scalar as a torque
-
asVolume
Return the current scalar as a volume.- Returns:
- 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:
- the current scalar as a volume
-
asAngle
Return the current scalar as a angle.- Returns:
- 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:
- the current scalar as a angle
-
asLength
Return the current scalar as a length.- Returns:
- 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:
- the current scalar as a length
-
asTemperature
Return the current scalar as a temperature.- Returns:
- 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:
- the current scalar as a temperature
-
asDuration
Return the current scalar as a duration.- Returns:
- 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:
- the current scalar as a duration
-