Click or drag to resize

IBiasedUnit Interface

Designates a biased unit, i.e. a unit for wich 0 units of that unit is not the same as 0 units of the corresponding SI unit.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IBiasedUnit

The IBiasedUnit type exposes the following members.

Methods
 NameDescription
Public methodAddBiasedValueOfThisUnitAndSIValue Adds the biased value of this unit and an SI value to get the biased value of this unit. For example 20°C + 20 K results in 40°C or 20 °F + 20 K results in 52 °F
Public methodToSIUnitIfTreatedAsDifference Converts a value of this unit to a value in the corresponding SI unit. The provided value is treated as difference. Thus if e.g. the unit is DegreesCelsius, by providing 20 the result is 20 (K), because 20°C - 0°C = 20 K.
Top
See Also