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

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

16 releases

0.4.6 Feb 5, 2025
0.4.3 Dec 15, 2024
0.4.1 Aug 4, 2024
0.4.0 May 19, 2024
0.3.3 Nov 29, 2023

#444 in Math

Download history 26/week @ 2024-10-30 12/week @ 2024-11-06 8/week @ 2024-11-13 35/week @ 2024-11-20 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 79/week @ 2025-02-12

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

MIT/Apache

510KB
12K 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