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

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

#441 in Math

Download history 27/week @ 2024-11-18 69/week @ 2024-11-25 41/week @ 2024-12-02 377/week @ 2024-12-09 199/week @ 2024-12-16 15/week @ 2024-12-23 19/week @ 2024-12-30 45/week @ 2025-01-06 25/week @ 2025-01-13 221/week @ 2025-01-20 127/week @ 2025-01-27 257/week @ 2025-02-03 111/week @ 2025-02-10 40/week @ 2025-02-17 256/week @ 2025-02-24 96/week @ 2025-03-03

523 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