Property | Type | Description | |
---|---|---|---|
CombinedUnits | CombinedUnit>.Dictionary | ||
KnownUnits | PhysicalUnit>.Dictionary |
Method | Description | |
---|---|---|
Add ( String target, Double rate ) : |
Adds a conversion determined by y = a * x.
|
|
Add ( String target, Double rate, Double offset ) : |
Adds a conversion determined by y = a * x + b.
|
|
CanBe ( String unit ) : System.Boolean | ||
FindCombinedUnit ( String unit ) : |
||
FindUnit ( String unit ) : |
||
GetConversion ( String unit ) : Double>.Func |
||
GetInverseConversion ( String unit ) : Double>.Func |
||
HasConversion ( String target ) : System.Boolean | ||
IsCombinedUnit ( String unit ) : System.Boolean | ||
TransformTo ( String unit ) : |
Method | Description | |
---|---|---|
Create ( ) : |
||
GetWeight ( String unit ) : Double | ||
SetPrefixes ( ) : void |
Method | Description | |
---|---|---|
Identity ( Double x ) : Double | ||
PhysicalUnit ( ) : System |
public Add ( String target, Double rate ) : |
||
target | String | The target unit, e.g. in m to yd, yd would be the target unit. |
rate | Double | The rate of the conversion. |
return |
public Add ( String target, Double rate, Double offset ) : |
||
target | String | The target unit, e.g. in K to °C, °C would be the target unit. |
rate | Double | The rate (a) of the conversion. |
offset | Double | The offset (b) of the conversion. |
return |
public CanBe ( String unit ) : System.Boolean | ||
unit | String | |
return | System.Boolean |
public static FindCombinedUnit ( String unit ) : |
||
unit | String | |
return |
public static FindUnit ( String unit ) : |
||
unit | String | |
return |
public GetConversion ( String unit ) : Double>.Func |
||
unit | String | |
return | Double>.Func |
public GetInverseConversion ( String unit ) : Double>.Func |
||
unit | String | |
return | Double>.Func |
public HasConversion ( String target ) : System.Boolean | ||
target | String | |
return | System.Boolean |
public static IsCombinedUnit ( String unit ) : System.Boolean | ||
unit | String | |
return | System.Boolean |
public TransformTo ( String unit ) : |
||
unit | String | |
return |
protected static Dictionary |
||
return | CombinedUnit>.Dictionary |