Open
Description
Part of making a good, easy to use sim framework mandates a physical value-tracking system that ensures unit-safe operations.
Such a system should have 3 properties (for now just assume length):
- Lengths can be added, subtracted from each other.
- Lengths can be scaled by a given unitless factor.
- Trying to multiply lengths together causes an error ( no Area types exist yet )
- We can pull any length unit out of a Length object and it will automatically convert as needed (1m.get(feet) == 3.28084)