public class ForceUnit extends LinearUnit<ForceUnit>
Copyright (c) 2015-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2016-05-28 14:25:52 +0200 (Sat, 28 May 2016) $, @version $Revision: 202 $, by $Author: averbraeck $,
initial version May 15, 2014
| Modifier and Type | Field and Description |
|---|---|
static ForceUnit |
DYNE
Dyne.
|
static ForceUnit |
KILOGRAM_FORCE
kilogram-force.
|
static ForceUnit |
NEWTON
Newton.
|
static ForceUnit |
OUNCE_FORCE
ounce-force.
|
static ForceUnit |
POUND_FORCE
pound-force.
|
static ForceUnit |
SI
The SI unit for force is Newton.
|
static ForceUnit |
STHENE
sthene.
|
static ForceUnit |
TON_FORCE
ton-force.
|
scale, STANDARD_UNITS| Constructor and Description |
|---|
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,
TimeUnit timeUnit,
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 conversionFactorToReferenceUnit)
Build a user-defined ForceUnit with a conversion factor to another ForceUnit.
|
| Modifier and Type | Method and Description |
|---|---|
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
ForceUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getConversionFactorToStandardUnit, getScaleequals, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, hashCode, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toStringpublic static final ForceUnit SI
public static final ForceUnit NEWTON
public static final ForceUnit DYNE
public static final ForceUnit KILOGRAM_FORCE
public static final ForceUnit OUNCE_FORCE
public static final ForceUnit POUND_FORCE
public static final ForceUnit TON_FORCE
public static final ForceUnit STHENE
public ForceUnit(MassUnit massUnit, LengthUnit lengthUnit, TimeUnit timeUnit, String name, String abbreviation, UnitSystem unitSystem)
massUnit - the unit of mass for the force unit, e.g., kilogramlengthUnit - the unit of length for the force unit, e.g., metertimeUnit - the unit of time for the force unit, e.g., secondname - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic ForceUnit(MassUnit massUnit, AccelerationUnit accelerationUnit, String name, String abbreviation, UnitSystem unitSystem)
massUnit - the unit of mass for the force unit, e.g., kilogramaccelerationUnit - the unit of acceleration for the force unit, e.g., m/s^2name - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic ForceUnit(String name, String abbreviation, UnitSystem unitSystem, ForceUnit referenceUnit, double conversionFactorToReferenceUnit)
name - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or ImperialreferenceUnit - the unit to convert toconversionFactorToReferenceUnit - multiply a value in this unit by the factor to convert to the given reference unitpublic final MassUnit getMassUnit()
public final LengthUnit getLengthUnit()
public final TimeUnit getTimeUnit()
public final ForceUnit getStandardUnit()
getStandardUnit in class Unit<ForceUnit>public final String getSICoefficientsString()
getSICoefficientsString in class Unit<ForceUnit>Copyright © 2015–2016 Delft University of Technology. All rights reserved.