Represents an SI (Système international) unit.
Constructor | Description |
Full Usage:
SIUnit(metre, kilogram, second, ampere, kelvin, mole, candela)
Parameters:
sbyte
-
Power of 'Metre' units that the constructed unit will contain.
kilogram : sbyte
-
Power of 'Kilogram' units that the constructed unit will contain.
second : sbyte
-
Power of 'Second' units that the constructed unit will contain.
ampere : sbyte
-
Power of 'Ampere' units that the constructed unit will contain.
kelvin : sbyte
-
Power of 'Kelvin' units that the constructed unit will contain.
mole : sbyte
-
Power of 'Mole' units that the constructed unit will contain.
candela : sbyte
-
Power of 'Candela' units that the constructed unit will contain.
|
Constructor of the SI unit.
|
Instance member | Description |
Full Usage:
this.Equals
Parameters:
SIUnit
-
The other unit.
Returns: bool
True when both units are equal.
Modifiers: abstract |
Compares this unit with another unit other and returns
|
Full Usage:
this.Equals
Parameters:
IUnit
-
The other unit.
Returns: bool
True when both units are equal.
Modifiers: abstract |
Compares this unit with another unit obj and returns
|
|
|
Full Usage:
this.FromSIUnit
Parameters:
float
-
Value in SI units.
Returns: float
The corresponding value in this unit. Since this instance represents a SI unit, the value x is returned unchanged.
Modifiers: abstract |
Converts x (in SI units) to the corresponding value in this unit.
|
Full Usage:
this.GetHashCode
Returns: int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Modifiers: abstract |
Returns a hash code for this instance.
|
|
|
Full Usage:
this.Name
Returns: string
Modifiers: abstract |
Full name of the unit.
|
|
Returns a list of possible prefixes for this unit (like µ, m, k, M, G..).
|
Full Usage:
this.ShortCut
Returns: string
Modifiers: abstract |
Usual shortcut of the unit.
|
Full Usage:
this.ToSIUnit
Parameters:
float
-
Value to convert.
Returns: float
The corresponding value of x in SI units. Since this instance represents a SI unit, the value x is returned unchanged.
Modifiers: abstract |
Converts x to the corresponding SI unit.
|