ForceUnit
constructor(baseUnit: ForceUnit?, toBaseConverter: (Double) -> Double, fromBaseConverter: (Double) -> Double, unitName: String, unitSymbol: String)(source)
Convenience constructor for defining a derived force unit from a base unit.
This constructor creates a unit whose magnitude is a fixed multiple of the provided base unit. For example, Kilonewtons is defined relative to Newtons using a multiplier of 1e3.
Parameters
baseUnit
the unit to derive from (typically the base force unit)
baseUnitEquivalent
how many base unit units are equal to one of this unit
name
the human-readable name of the unit
symbol
the short symbol used for the unit