Package | Description |
---|---|
org.djunits.unit |
Classes for the unit system.
|
org.djunits.unit.unitsystem |
Classes for the unit system, such as SI, SI-derived, Imperial.
|
Modifier and Type | Method and Description |
---|---|
UnitSystem |
Unit.getUnitSystem() |
Constructor and Description |
---|
AbsoluteLinearUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactorToReferenceUnit,
double offsetToReferenceUnit,
RU relativeUnit)
Build a user-defined unit with an absolute linear scale and create the fields for that unit.
|
AbsoluteLinearUnit(String abbreviationKey,
UnitSystem unitSystem,
double scaleFactorToReferenceUnit,
double offsetToReferenceUnit,
RU relativeUnit)
Build a standard unit with an absolute linear scale and create the fields for that unit.
|
AbsoluteTemperatureUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double conversionFactorToStandardUnit,
double offsetToKelvin,
TemperatureUnit relativeUnit)
Build a user-defined AbsoluteTemperatureUnit with a conversion factor and offset to Kelvin.
|
AccelerationUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
AccelerationUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AccelerationUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
AngleSolidUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AngleSolidUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
AngleUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AngleUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
AreaUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined area unit based on length.
|
AreaUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AreaUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit, e.g.
|
DensityUnit(MassUnit massUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined density unit based on mass and length.
|
DensityUnit(String name,
String abbreviation,
UnitSystem unitSystem,
DensityUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
DirectionUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactor,
double offset,
AngleUnit relativeUnit)
Build a user-defined DirectionUnit with a scale factor and offset to the base DirectionUnit.
|
DurationUnit(String name,
String abbreviation,
UnitSystem unitSystem,
DurationUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined DurationUnit with a conversion factor to another DurationUnit.
|
ElectricalChargeUnit(ElectricalCurrentUnit electricalCurrentUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ElectricalChargeUnit as an electrical current unit times a time unit.
|
ElectricalChargeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ElectricalChargeUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
ElectricalCurrentUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ElectricalCurrentUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalPotentialUnit based on its constituent base units, e.g.
|
ElectricalPotentialUnit(PowerUnit powerUnit,
ElectricalCurrentUnit electricalCurrentUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ElectricalPotentialUnit based on power divided by current (V=W/A).
|
ElectricalPotentialUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ElectricalPotentialUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined ElectricalPotentialUnit with a conversion factor to another ElectricalPotentialUnit.
|
ElectricalResistanceUnit(ElectricalPotentialUnit electricalPotentialUnit,
ElectricalCurrentUnit electricalCurrentUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on an electrical potential unit and an electrical current unit, e.g.
|
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
ElectricalResistanceUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ElectricalResistanceUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined ElectricalResistanceUnit with a conversion factor to another ElectricalResistanceUnit.
|
EnergyUnit(ForceUnit forceUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on a LengthUnit and a ForceUnit, e.g.
|
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
EnergyUnit(String name,
String abbreviation,
UnitSystem unitSystem,
EnergyUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined EnergyUnit with a conversion factor to another EnergyUnit.
|
FlowMassUnit(MassUnit massUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-massunit based on mass and time.
|
FlowMassUnit(String name,
String abbreviation,
UnitSystem unitSystem,
FlowMassUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
FlowVolumeUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
FlowVolumeUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based as a volume unit per time unit.
|
ForceUnit(MassUnit massUnit,
AccelerationUnit accelerationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on a MassUnit and an AccelerationUnit, i.e.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on its constituent base units, e.g.
|
ForceUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ForceUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined ForceUnit with a conversion factor to another ForceUnit.
|
FrequencyUnit(DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined FrequencyUnit based on time.
|
FrequencyUnit(String name,
String abbreviation,
UnitSystem unitSystem,
FrequencyUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined FrequencyUnit with a conversion factor to another FrequencyUnit.
|
LengthUnit(String name,
String abbreviation,
UnitSystem unitSystem,
LengthUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined LengthUnit with a conversion factor to another LengthUnit.
|
LinearDensityUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined LinearDensityUnit based on length.
|
LinearDensityUnit(String name,
String abbreviation,
UnitSystem unitSystem,
LinearDensityUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined LinearDensityUnit with a conversion factor to another LinearDensityUnit.
|
LinearUnit(String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined unit with a linear scale and create the fields for that unit.
|
LinearUnit(String name,
String abbreviation,
UnitSystem unitSystem,
Scale scale)
Build a user-defined unit with a specific conversion scale to/from the standard unit.
|
LinearUnit(String name,
String abbreviation,
UnitSystem unitSystem,
U referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a linear conversion factor to another unit.
|
LinearUnit(String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit with a linear scale and create the fields for that unit.
|
LinearUnit(String abbreviationKey,
UnitSystem unitSystem,
Scale scale)
Build a standard unit with a specific conversion scale to/from the standard unit.
|
LinearUnit(String abbreviationKey,
UnitSystem unitSystem,
U referenceUnit,
double scaleFactorToReferenceUnit)
Build a standard unit with a linear conversion factor to another unit.
|
MassUnit(String name,
String abbreviation,
UnitSystem unitSystem,
MassUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined MassUnit with a conversion factor to another MassUnit.
|
PositionUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactor,
double offset,
LengthUnit relativeUnit)
Build a user-defined PositionUnit with a scale factor and offset to the base PositionUnit.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on a LengthUnit, a ForceUnit, and a TimeUnit, e.g.
|
PowerUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PowerUnit(String name,
String abbreviation,
UnitSystem unitSystem,
PowerUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined PowerUnit with a conversion factor to another PowerUnit.
|
PressureUnit(ForceUnit forceUnit,
AreaUnit areaUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from force and area units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from mass, length and time units, e.g., a Pascal = kg/m.s^2.
|
PressureUnit(String name,
String abbreviation,
UnitSystem unitSystem,
PressureUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined PressureUnit with a conversion factor to another PressureUnit.
|
SpeedUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined speed unit from a length unit and a time unit.
|
SpeedUnit(String name,
String abbreviation,
UnitSystem unitSystem,
SpeedUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined SpeedUnit with a conversion factor to another SpeedUnit.
|
TemperatureUnit(String name,
String abbreviation,
UnitSystem unitSystem,
TemperatureUnit referenceUnit,
double scaleFactorToStandardUnit,
double offsetToKelvin)
Build a user-defined TemperatureUnit with a conversion factor and offset to Kelvin.
|
TimeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
double scaleFactor,
double offset,
DurationUnit relativeUnit)
Build a user-defined TimeUnit with a scale factor and offset to the base TimeUnit.
|
TorqueUnit(ForceUnit forceUnit,
LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from force and length units.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from mass, length and time units.
|
TorqueUnit(String name,
String abbreviation,
UnitSystem unitSystem,
TorqueUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
Unit(String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined unit and create the fields for that unit.
|
Unit(String name,
String abbreviation,
UnitSystem unitSystem,
Scale scale)
Build a user-defined unit with a specific conversion scale to/from the standard unit.
|
Unit(String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit and create the fields for that unit.
|
Unit(String abbreviationKey,
UnitSystem unitSystem,
Scale scale)
Build a standard unit with a specific conversion scale to/from the standard unit.
|
VolumeUnit(LengthUnit lengthUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined volume unit based on length, e.g.
|
VolumeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
VolumeUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined VolumeUnit with a conversion factor to another VolumeUnit, e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
AU
The atomic unit system.
|
class |
CGS
The centimeter-gram-second system.
|
class |
CGS_EMU
The centimeter-gram-second system.
|
class |
CGS_ESU
The centimeter-gram-second system.
|
class |
Imperial
The imperial system (or British imperial system).
|
class |
MTS
The meter-tonne-second system.
|
class |
Other
Other (non-SI, cgs, Imperial, mts, US, ...) system, or to indicate a unit is not belonging to a system.
|
class |
SI
The international System of Units (SI).
|
class |
SIAccepted
The international System of Units (SI): accepted units such as the minute, day, and liter.
|
class |
SIBase
The international System of Units (SI).
|
class |
SIDerived
The international System of Units (SI).
|
class |
USCustomary
The US customary system (US specific extensions to the British imperial system).
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.