Given a set of x's (latitude) and y's (longitude), I would like to be able to assign (hash) them to their corresponding hexagonal cells, which would cover all points within that set. How would I go about doing that in Java or C?
This is close to what I'd like to do, but not in Python, plus I'm not necessarily interested in graphical representation.