Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!helios.physics.utoronto.ca!radio.astro.utoronto.ca!radio.astro!brian From: brian@radio.astro.utoronto.ca (Brian Glendenning) Newsgroups: comp.graphics Subject: Tiling 2-D space with hexagons? Message-ID: Date: 19 Dec 89 12:14:04 GMT Sender: brian@radio.astro.utoronto.ca (Brian Glendenning) Organization: Radio Astronomy, Univeristy of Toronto Lines: 11 This is probably a simple question. Imagine that 2-D space has been tiled with hexagons. Given a point (x,y), how can I quickly assign a "hexagon number" to that point, where the "hexagon number" uniquely identifies that hexagon (I don't care about any other properties of the hexagon number other than it be unique). Thanks! Brian -- Brian Glendenning - Radio astronomy, University of Toronto brian@radio.astro.utoronto.ca uunet!utai!radio!brian glendenn@utorphys.bitnet