Crate irox_units
source ·Expand description
The little Units Library that could
Module Structure:
bounds- Bounding Boxes and Range Checksshapes- Ways to define and describe shapesshapes::circular-CircularAspectenum andCircularDimensionstruct, describes a circle by radius or diameter with appropriate length units.shapes::elliptical-Ellipsestruct, describes an ellipse using twoCircularDimensionaxes and an optionalCompassDirectionorientation of the first axis
units- Physical Quantitiesunits::angle- Angle Types,Angle,AngleUnitsforDegreesandRadiansunits::compass- Compass Types,Compass, and the absolute types:Heading,Track,Bearing,Course,Azimuth,CompassOffest, and the relative typeRelativeBearingunits::datasize- Computer Data Sizes,DataSizerepresentingBytes,Kilobytes, etcunits::length- The SILengthquantity, representingMeters,Feet, etcunits::speed- The SISpeedquantity, representingMetersPerSecond,Knots, etcunits::temperature- The SITemperaturequantity, representingCelsius,Kelvin, etc
Modules
- Bounding Boxes and Range Checks
- Ways to define and describe shapes
Macros
- Matches (struct, units, default) to make a new basic struct