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

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.

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.