logo separator

[mkgmap-dev] patch Interface Locatable and Kd-tree

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Mar 27 06:12:22 GMT 2015

Hi Steve,

yes, much better. Will use it like this.

Gerd

Date: Thu, 26 Mar 2015 22:38:00 +0000
From: steve at parabola.me.uk
To: mkgmap-dev at 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 at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150327/befd354e/attachment.html>


More information about the mkgmap-dev mailing list