Package org.djunits.unit
Class VolumeUnit
- All Implemented Interfaces:
Serializable
,Cloneable
VolumeUnit defines a number of common units for volumes.
Copyright (c) 2015-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.unit.Unit
Unit.Builder<U extends Unit<U>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Quantity<VolumeUnit>
The base, with "m2" as the SI signature.static final VolumeUnit
cm^3.static final VolumeUnit
dam^3.static final VolumeUnit
dm^3.static final VolumeUnit
ft^3.static final VolumeUnit
hm^3.static final VolumeUnit
in^3.static final VolumeUnit
km^3.static final VolumeUnit
Cubic lightyear.static final VolumeUnit
m^3.static final VolumeUnit
mile^3.static final VolumeUnit
mm^3.static final VolumeUnit
Nautical mile^3.static final VolumeUnit
Cubic Parsec.static final VolumeUnit
yd^3.static final VolumeUnit
ounce (fluid imperial) = 1/20 imp pint.static final VolumeUnit
ounce (fluid US) = 1/16 US pint.static final VolumeUnit
gallon (imperial).static final VolumeUnit
gallon (US), fluids.static final VolumeUnit
liter.static final VolumeUnit
pint (imperial) = 1/2 imp quart.static final VolumeUnit
pint (fluid US) = 1/2 US quart.static final VolumeUnit
quart (imperial) = 1/4 imp gallon.static final VolumeUnit
quart (fluid US) = 1/4 US gallon.static final VolumeUnit
The SI unit for area is m^3. -
Constructor Summary
-
Method Summary
Methods inherited from class org.djunits.unit.Unit
build, clone, deriveLinear, deriveLinear, deriveLinear, derivePerSI, deriveSI, deriveSI, deriveSIKilo, equals, getDefaultAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getLocalizedAbbreviations, getLocalizedDisplayAbbreviation, getLocalizedTextualAbbreviation, getName, getQuantity, getScale, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, makeBuilder, toString
-
Field Details
-
BASE
The base, with "m2" as the SI signature. -
SI
The SI unit for area is m^3. -
CUBIC_METER
m^3. -
CUBIC_MILLIMETER
mm^3. -
CUBIC_CENTIMETER
cm^3. -
CUBIC_DECIMETER
dm^3. -
CUBIC_DECAMETER
dam^3. -
CUBIC_HECTOMETER
hm^3. -
CUBIC_KILOMETER
km^3. -
CUBIC_MILE
mile^3. -
CUBIC_NAUTICAL_MILE
Nautical mile^3. -
CUBIC_FOOT
ft^3. -
CUBIC_INCH
in^3. -
CUBIC_YARD
yd^3. -
LITER
liter. -
GALLON_US
gallon (US), fluids. -
GALLON_IMP
gallon (imperial). -
QUART_US
quart (fluid US) = 1/4 US gallon. -
QUART_IMP
quart (imperial) = 1/4 imp gallon. -
PINT_US
pint (fluid US) = 1/2 US quart. -
PINT_IMP
pint (imperial) = 1/2 imp quart. -
FLUID_OUNCE_US
ounce (fluid US) = 1/16 US pint. -
FLUID_OUNCE_IMP
ounce (fluid imperial) = 1/20 imp pint. -
CUBIC_LIGHTYEAR
Cubic lightyear. -
CUBIC_PARSEC
Cubic Parsec.
-
-
Constructor Details
-
VolumeUnit
public VolumeUnit()
-