Gemstone.Units Namespace

The Gemstone.Units namespace organizes all Gemstone library functionality related to units useful for common unit and SI conversions. The root units namespace includes common units classes, e.g., SI, , SI2 and , Angle.

Classes

AngleConverter Provides a type converter to convert Angle values to and from various other representations.
ChargeConverter Provides a type converter to convert Charge values to and from various other representations.
CurrentConverter Provides a type converter to convert Current values to and from various other representations.
EnergyConverter Provides a type converter to convert Energy values to and from various other representations.
LengthConverter Provides a type converter to convert Length values to and from various other representations.
MassConverter Provides a type converter to convert Mass values to and from various other representations.
PowerConverter Provides a type converter to convert Power values to and from various other representations.
SI Defines constant factors for SI units of measure to handle metric conversions.
SI2 Defines constant factors based on 1024 for related binary SI units of measure used in computational measurements.
SpeedConverter Provides a type converter to convert Speed values to and from various other representations.
TemperatureConverter Provides a type converter to convert Temperature values to and from various other representations.
TimeConverter Provides a type converter to convert Time values to and from various other representations.
VoltageConverter Provides a type converter to convert Voltage values to and from various other representations.
VolumeConverter Provides a type converter to convert Volume values to and from various other representations.

Structures

Angle Represents an angle, in radians, as a double-precision floating-point number.
Charge Represents an electric charge measurement, in coulombs (i.e., ampere-seconds), as a double-precision floating-point number.
Current Represents an electric current measurement, in amperes, as a double-precision floating-point number.
Energy Represents an energy measurement, in joules (i.e., watt-seconds), as a double-precision floating-point number.
Length Represents a length measurement, in meters, as a double-precision floating-point number.
Mass Represents a mass measurement, in kilograms, as a double-precision floating-point number.
Power Represents a power measurement, in watts, as a double-precision floating-point number.
Speed Represents a speed measurement, in meters per second, as a double-precision floating-point number.
Temperature Represents a temperature, in Kelvin, as a double-precision floating-point number.
Time Represents a time measurement, in seconds, as a double-precision floating-point number.
Voltage Represents an electromotive force (i.e., voltage) measurement, in volts, as a double-precision floating-point number.
Volume Represents a volume measurement, in cubic meters, as a double-precision floating-point number.

Enumerations

AngleUnit Represents the units available for an Angle value.
ChargeUnit Represents the units available for a Charge value.
CurrentUnit Represents the units available for a Current value.
EnergyUnit Represents the units available for an Energy value.
LengthUnit Represents the units available for a Length value.
MassUnit Represents the units available for a Mass value.
PowerUnit Represents the units available for a Power value.
SpeedUnit Represents the units available for a Speed value.
TemperatureUnit Represents the units available for a Temperature value.
TimeUnit Represents the units available for a Time value.
VoltageUnit Represents the units available for a Voltage value.
VolumeUnit Represents the units available for a Volume value.