#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

#517 in Math

Download history 38/week @ 2023-12-22 3/week @ 2023-12-29 14/week @ 2024-01-05 51/week @ 2024-01-12 9/week @ 2024-01-19 7/week @ 2024-02-02 8/week @ 2024-02-09 33/week @ 2024-02-16 33/week @ 2024-02-23 146/week @ 2024-03-01 53/week @ 2024-03-08 31/week @ 2024-03-15 34/week @ 2024-03-22 194/week @ 2024-03-29 40/week @ 2024-04-05

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

MIT/Apache

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