Excellent idea! Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Jan 1, 2018, at 6:27 PM, Julien <julien.delplanque@inria.fr> wrote:
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'; repository: 'github://juliendelplanque/Orientation/repository <github://juliendelplanque/Orientation/repository>'; 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
[1]: https://github.com/juliendelplanque/Orientation <https://github.com/juliendelplanque/Orientation>
--- Julien Delplanque Doctorant à lâUniversité de Lille 1 http://juliendelplanque.be/phd.html <http://juliendelplanque.be/phd.html> Equipe Rmod, Inria Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq Numéro de téléphone: +333 59 35 86 40