Click or drag to resize

UnitConversion Class

Convert numbers with physical units from given input to output units (i.e. ft to m).
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesUnitConversion

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class UnitConversion

The UnitConversion type exposes the following members.

Constructors
  NameDescription
Public methodUnitConversion(String)
Initializes a new instance of the UnitConversion class. create new units conversion object with unit conversion factor.
Public methodUnitConversion(Double, String)
Initializes a new instance of the UnitConversion class. create new units conversion object.
Top
Properties
  NameDescription
Public propertyunit
Gets units as string.
Public propertyunitB
Gets bracketed units as string.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodtoBase(ListDouble)
converts given list of numbers to the base unit of the conversion.
Public methodtoBase(Double)
Converts given number to the base unit of the conversion.
Public methodtoBase(Double)
converts given array to the base unit of the conversion.
Public methodtoBase(Point3)
converts given point to the base unit of the conversion.
Public methodtoBase(Vector3)
converts given vector to the base unit of the conversion.
Public methodtoBase(ListVector3)
converts given vector to the base unit of the conversion.
Public methodtoBaseMeshT
Converts vertex coordinates of given mesh to the base unit of the conversion.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodtoUnit(ListListListListDouble)
converts given list of list of numbers from the base unit of the conversion.
Public methodtoUnit(ListListListDouble)
converts given list of list of numbers from the base unit of the conversion.
Public methodtoUnit(ListListDouble)
converts given list of list of numbers from the base unit of the conversion.
Public methodtoUnit(ListDouble)
converts given list of numbers from the base unit of the conversion.
Public methodtoUnit(Double)
Converts number from the base unit to the conversion.
Public methodtoUnit(Double)
converts given array from the base unit of the conversion.
Public methodtoUnit(Point3)
converts given point from the base unit of the conversion.
Public methodtoUnit(Vector3)
converts given vector from the base unit of the conversion.
Public methodtoUnit(ListVector3)
converts given list of vectors from the base unit of the conversion.
Public methodtoUnit(ListListVector3)
converts given list of list of vectors from the base unit of the conversion.
Public methodtoUnitMeshT
Converts vertex coordinates of given mesh from the base unit to the conversion.
Top
Extension Methods
  NameDescription
Public Extension MethodToBase
Converts given list of numbers to the base unit of the conversion.
(Defined by ExtensionsUtilities.)
Top
See Also