Main Page Modules Class Hierarchy Compound List File List Compound Members
Units are the specific instances scales along a dimension.
Detailed Description
For instance, length can be measured using meters, angstroms, miles, inches, feet, yards, or even furlongs. Length is a Dimension, while all of the measures of that dimension are Unit objects. For most dimensions, a single number suffices to differentiate one Unit from another: their relative scale. In other words, the answer to, "How big is 1 inch in meters?" is the only difference between inches and meters. This is not true for temperature, however. In addition to knowing the relative size of one temperature unit compared to another, we have to know the offset. This is because the Fahrenheight and Celsius scales do not take absolute zero as the starting point for measurements.
 |
C++ Reference Manual |
20010520 |