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

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

9 releases

0.3.6 Apr 1, 2024
0.3.5 Mar 3, 2024
0.3.4 Jan 12, 2024
0.3.3 Nov 29, 2023
0.1.0 Aug 13, 2023

#207 in Math

Download history 9/week @ 2024-02-05 15/week @ 2024-02-12 30/week @ 2024-02-19 72/week @ 2024-02-26 134/week @ 2024-03-04 32/week @ 2024-03-11 29/week @ 2024-03-18 37/week @ 2024-03-25 217/week @ 2024-04-01 27/week @ 2024-04-08 32/week @ 2024-04-15 33/week @ 2024-04-22 30/week @ 2024-04-29 46/week @ 2024-05-06

146 downloads per month
Used in 14 crates (8 directly)

MIT/Apache

265KB
6K 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