Hello,
I developed a small framework to model orientation (north, east, south, west). It defines some common operations that can be done on such objects (turning, getting the opposite orientation, moving on n steps on a discrete grid from a given position following certain orientation, etc���). Also, it supporte composed orientations (e.g. north-east). More details on GitHub [1].
To install it:
Metacello new
baseline: 'Orientation';
load
This is not a lot but it is tested and I think it does its job well. So if you need to model orientation, consider to use it. :-)
If any ideas of what I could add to this API, I���m interested.
Regards,
Julien