#bounding-box #irox #no-alloc #epsg #aerospace #no-std #coordinate

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

17 releases

0.4.7 Mar 1, 2025
0.4.5 Jan 26, 2025
0.4.3 Dec 15, 2024
0.4.1 Aug 4, 2024
0.3.3 Nov 29, 2023

#550 in Math

Download history 68/week @ 2024-11-27 74/week @ 2024-12-04 455/week @ 2024-12-11 79/week @ 2024-12-18 13/week @ 2024-12-25 36/week @ 2025-01-01 40/week @ 2025-01-08 24/week @ 2025-01-15 291/week @ 2025-01-22 56/week @ 2025-01-29 296/week @ 2025-02-05 84/week @ 2025-02-12 27/week @ 2025-02-19 302/week @ 2025-02-26 69/week @ 2025-03-05 28/week @ 2025-03-12

431 downloads per month
Used in 19 crates (10 directly)

MIT/Apache

525KB
13K SLoC

IROX-Units

The little Units Library that could

Module Structure:

  • bounds - Bounding Boxes and Range Checks
  • shapes - Ways to define and describe shapes
    • circular - CircularAspect enum and CircularDimension struct, describes a circle by radius or diameter with appropriate length units.
    • elliptical - Ellipse struct, describes an ellipse using two CircularDimension axes and an optional CompassDirection orientation of the first axis
  • units - Physical Quantities
    • angle - Angle Types, Angle, AngleUnits for Degrees and Radians
    • compass - Compass Types,
      • Compass, and the absolute types: Heading, Track, Bearing, Course, Azimuth,
      • CompassOffest, and the relative types: RelativeBearing
    • datasize - Computer Data Sizes, Bytes, Kilobytes, etc
    • duration - Contains Duration, describing a fixed amount of seconds / minutes / hours / milliseconds / etc
    • length - The SI Length quantity, Meters, Feet, etc
    • speed - The SI Speed quantity, MetersPerSecond, Knots, etc
    • temperature - The SI Temperature quantity, Celcius, Kelvin, etc

Dependencies