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

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

12 releases

new 0.4.2 Dec 14, 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

#558 in Math

Download history 26/week @ 2024-08-23 38/week @ 2024-08-30 32/week @ 2024-09-06 52/week @ 2024-09-13 71/week @ 2024-09-20 41/week @ 2024-09-27 13/week @ 2024-10-04 21/week @ 2024-10-11 26/week @ 2024-10-18 20/week @ 2024-10-25 27/week @ 2024-11-01 7/week @ 2024-11-08 19/week @ 2024-11-15 26/week @ 2024-11-22 81/week @ 2024-11-29 72/week @ 2024-12-06

199 downloads per month
Used in 18 crates (9 directly)

MIT/Apache

395KB
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