Package org.djunits.unit
Class VolumeUnit
- All Implemented Interfaces:
Serializable,Cloneable
VolumeUnit defines a number of common units for volumes.
Copyright (c) 2015-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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.unit.Unit
Unit.Builder<U extends Unit<U>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Quantity<VolumeUnit>The base, with "m2" as the SI signature.static final VolumeUnitcm^3.static final VolumeUnitdam^3.static final VolumeUnitdm^3.static final VolumeUnitft^3.static final VolumeUnithm^3.static final VolumeUnitin^3.static final VolumeUnitkm^3.static final VolumeUnitCubic lightyear.static final VolumeUnitm^3.static final VolumeUnitmile^3.static final VolumeUnitmm^3.static final VolumeUnitNautical mile^3.static final VolumeUnitCubic Parsec.static final VolumeUnityd^3.static final VolumeUnitounce (fluid imperial) = 1/20 imp pint.static final VolumeUnitounce (fluid US) = 1/16 US pint.static final VolumeUnitgallon (imperial).static final VolumeUnitgallon (US), fluids.static final VolumeUnitliter.static final VolumeUnitpint (imperial) = 1/2 imp quart.static final VolumeUnitpint (fluid US) = 1/2 US quart.static final VolumeUnitquart (imperial) = 1/4 imp gallon.static final VolumeUnitquart (fluid US) = 1/4 US gallon.static final VolumeUnitThe SI unit for area is m^3. -
Constructor Summary
Constructors -
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()
-