Skip to main content

Module units

Module units 

Source
Expand description

Units and dimensioned quantities.

Canonical internal units (ADR-0002): length = millimetre, angle = radian, time = second. Quantities carry a Dim so that seconds, metres and degrees can never be added silently.

Structs§

Dim
Physical dimension as exponents of length, angle and time.
Quantity
A value with a physical dimension, stored in canonical units (mm, rad, s).
TimeAxis
Explicit mapping from a domain time axis to model X coordinates (timelines).

Enums§

AngleUnit
Angle units.
LengthUnit
Length units with exact conversion factors to millimetres.
TimeUnit
Time units.