
Hi Steve, yes, much better. Will use it like this. Gerd Date: Thu, 26 Mar 2015 22:38:00 +0000 From: steve@parabola.me.uk To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] patch Interface Locatable and Kd-tree On 26/03/15 19:03, Gerd Petermann wrote:
I think this should be replaced using general interface Locatable() with method getLocation() and and general Kd-Tree implementaion for classes that implement the Locatable interface. The attached patch shows what I mean.
What do you think about it?
Yes sounds a great idea. You could also make it generic so that casts are not needed as in the attached partial patch. ..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev