[Edu-sig] Basic dictionary question
Guido van Rossum
guido at python.org
Mon Oct 10 16:42:34 CEST 2005
On 10/9/05, Kirby Urner <urnerk at qwest.net> wrote:
> I'll post again when I have more research behind me and either a solution or
> concrete frustration in sight -- not before.
I think you should just sort them by (x, y, z) and then comb through
the list looking for near-adjacent matches. Basically you have to
compare each point to all points following it in the list until the x
coordinate is more than epsilon away.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Edu-sig