vrLib SDK Documentation
PhysicalUnits Class
NamespacesVideoRay.UtilPhysicalUnits
A static class to perform phyical unit transformations This class is static so that transformations can be easilly applied globally All functions assume the the internal representation is fixed and in SI where possible (Pressure is in Bar, but this is accepeted for use with SI by NIST.) Our unit conversion requirements are pretty modest so a dictionary or some other more generic mechanism is overkill.
Declaration Syntax
C#Visual BasicVisual C++
public static class PhysicalUnits
Public NotInheritable Class PhysicalUnits
public ref class PhysicalUnits abstract sealed
Members
All MembersMethodsProperties



IconMemberDescription
Length(Double)
Return the proper Length in units based on SystemForOutput

Length_F2M(Double)
Convert length from feet to meters

Length_M2F(Double)
Convert length from meters to feet

Length_Symbol
Return the proper length units symbol based on SystemForOutput

LengthInverse(Double)
Return the length in standard units (Metric) regardless of SystemForOutput

SystemForOutput
Set the system for transformation

Temp(Double)
Return the proper temperature in units based on SystemForOutput

Temp_C2F(Double)
Convert a temperature from deg C to deg F

Temp_F2C(Double)
Convert a temperature from deg F to deg C

Temp_Symbol
Return the proper temperature units symbol based on SystemForOutput

TempInverse(Double)
Return the temperature in standard units (Metric) regardless of SystemForOutput

Inheritance Hierarchy
Object
PhysicalUnits

Assembly: vrLib (Module: vrLib) Version: 2.0.1.0 (2.0.1.0)