Package-level declarations
Types
A Dimension is a base class for a specific type of unit, like length or temperature.
A Measurement holds a value in a specific unit.
A UnitConverter provides the mechanism to convert between different units of the same dimension.
A linear converter that applies a coefficient (and optionally a constant) for conversion. Formula: y = m * x + b
Functions
Creates a ClosedRange of Temperature Measurements in Celsius from a Double range.
Creates a ClosedRange of Proportion Measurements from a Double range representing a decimal proportion (e.g., 0.0 to 1.0).
Creates a ClosedRange of Temperature Measurements in Fahrenheit from a Double range.
Marshall-Palmer formula for conversion of dBZ to rainfall rate in mm/h.
Creates a ClosedRange of Proportion Measurements from a Double range representing percentages (e.g., 0.0 to 100.0).
Creates a new ClosedRange<Measurement<UnitType>> from a numeric range using the same unit type as this range.
Returns a ClosedRange<Double> with just the numeric values from a range of Measurements.
Returns numeric bounds converted to the specified unit first.