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

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

13 releases

0.4.3 Dec 15, 2024
0.4.1 Aug 4, 2024
0.4.0 May 19, 2024
0.3.5 Mar 3, 2024
0.3.3 Nov 29, 2023

#464 in Math

Download history 55/week @ 2024-09-18 55/week @ 2024-09-25 24/week @ 2024-10-02 14/week @ 2024-10-09 22/week @ 2024-10-16 28/week @ 2024-10-23 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

626 downloads per month
Used in 19 crates (9 directly)

MIT/Apache

415KB
10K 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