Hexagon.png

This little application is used to show how to quicly identify a cell in an hexagonal mesh.
The algorythm is only based on line equations which describe thehexagonal mesh. It is fast and simple.

The package (attached) contains source code for 2 different graphical implementations. The first one is made with the Gtk library and the other with my own small library (Gfx).

The "Schemas" directory contains few quick draws to illustrate how it is done.
Enjoy !
Buzz