Uses of Class
org.arakhne.afc.math.physics.SpaceUnit
-
Packages that use SpaceUnit Package Description org.arakhne.afc.math.physics -
-
Uses of SpaceUnit in org.arakhne.afc.math.physics
Methods in org.arakhne.afc.math.physics that return SpaceUnit Modifier and Type Method Description static SpaceUnit
MeasureUnitUtil. getSmallestUnit(double amount, SpaceUnit unit)
Compute the smallest unit that permits to have a metric value with its integer part positive.SpaceUnit
SpaceUnit. lower()
Replies the space unit just lower than the current space unit, or the space unit itself if it is the smallest.SpaceUnit
SpeedUnit. toSpaceUnit()
Replies the space unit that corresponds to this speed unit.SpaceUnit
SpaceUnit. upper()
Replies the space unit just upper than the current space unit, or the space unit itself if it is the uppest.static SpaceUnit
SpaceUnit. valueOf(String name)
Returns the enum constant of this type with the specified name.static SpaceUnit[]
SpaceUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.arakhne.afc.math.physics with parameters of type SpaceUnit Modifier and Type Method Description static double
MeasureUnitUtil. convert(double value, SpaceUnit inputUnit, SpaceUnit outputUnit)
Convert the given value expressed in the given unit to the second given unit.static double
MeasureUnitUtil. fromMeters(double value, SpaceUnit outputUnit)
Convert the given value expressed in meters to the given unit.static SpaceUnit
MeasureUnitUtil. getSmallestUnit(double amount, SpaceUnit unit)
Compute the smallest unit that permits to have a metric value with its integer part positive.static double
MeasureUnitUtil. toMeters(double value, SpaceUnit inputUnit)
Convert the given value expressed in the given unit to meters.
-