logo separator

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

From Steve Ratcliffe steve at parabola.me.uk on Thu Mar 26 22:38:00 GMT 2015

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kd-generic.patch
Type: text/x-patch
Size: 6169 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150326/321c42ba/attachment.bin>


More information about the mkgmap-dev mailing list