PrefixableUnit
- class PrefixableUnit
Description
A unit that can be prefixed.
This is a trivial child of
Unitto clarify which interfaces expectPrefixableUnit, and which do not.Inheritance:
Members inherited from
Unit(22 members)RFactor to scale the quantity by relative to type.
RWhether this unit can be prefixed.
RWhether this unit is prefixed.
RQuantity metadata of this unit.
RName given to this unit.
RPrefix associated with this unit.
RUnit this is a (named) reference of.
RSymbol given to this unit.
RValue of the type when this is equal to 0.0.
Convert this unit to prefixable.
Expression of this units as its base units.
Whether
otherunit is convertible to this, i.e. whether their types are equal.Convert absolute base
valueto this unit’s absolute numerical representation.Convert base
valuerelative to some origin to this unit’s numerical representation relative to the same origin.Find or create a new base unit for
kind.Get a dimensionless unit
oneFind or create a new prefixed unit.
Convert absolute
valueto absolute base units numerically.Convert
valuerelative to some origin to base units relative to the same origin numerically.