2D-Tree: Search within rectangular region

Willi Mann foss-ml at wm1.at
Thu May 7 18:12:00 UTC 2009


Paul Harris schrieb:
> Off top of head, I think you can define a Range and then call find() with
> that.
> Sorry I can't be more precise.

Thanks for the quick reply, however don't know how to create such a
range. I've tried with Region, but I don't know how to initialise it.

I've attached what I tried last (fails to compile), maybe anyone can
make this work. A working version of the attached code would probably be
a nice addition to the examples directory.

Best Regards
Willi Mann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.cc
Type: text/x-c++src
Size: 1394 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/libkdtree-devel/attachments/20090507/8d481d83/attachment.cc>


More information about the libkdtree-devel mailing list