UnitConversionCollection Class

contains a collection of unit conversion objects, based on a scaling factor for geometric input.

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public class UnitConversionCollection
Inheritance
Object    UnitConversionCollection

Constructors

UnitConversionCollection Initializes a new instance of the UnitConversionCollection class. initialize the unit conversion collection. The default time is seconds. This makes the mass unit dependent on length and force.

Properties

Item Returns units conversion of given name.
m Gets the unit conversion for length.
m2 Gets the unit conversion for length^2.
m3 Gets the unit conversion for length^3.
m4 Gets the unit conversion for length^4.
m6 Gets the unit conversion for length^6.

Methods

Add add units conversion of given name and factor.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
init Initializes a new instance of the UnitConversionCollection class.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

Fields

CmToInch centimeter to inch.
CmToM value to percent.
DFToDT delta degree Fahrenheit to delta degree Celsius.
DmToM decimeter to meter.
FeetToM feet to meter.
FtToIn inch to feet.
GInIu official acceleration of gravity in feet per second squared.
GInSi official acceleration of gravity in meter per second squared.
InchToCm inch to centimeter.
InchToFt inch to feet.
KgToT kilogram to ton.
KipToKg kilo pound to kilogram.
KmToM Kilometre to meter.
KNToN kilo Newton to Newton.
KsiToKipFt2 kilo pond per square inch to kilo pond per feet squared.
LbToKg pound to kilogram.
LbToKip pond to kilo pond.
MmToM millimeter to meter.
MToCm value to percent.
MToFeet meter to feet.
MToMm millimeter to meter.
MueToM Microns to meter.
NToKN kilo Newton to Newton.
TToKg kilogram to ton.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also