<p dir="ltr">Hi Thierry, </p>
<p dir="ltr">What you are looking for is orthogonal range search. It is definitely possible to do that with libkdtree. Please have a look at the visit_within_range() function, which fits the use case you are looking for.</p>
<p dir="ltr">Regards <br>
Sylvain </p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, 22 Jul 2016 06:50 Thierry Moreira, <<a href="mailto:thierrypin@gmail.com">thierrypin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm new to the library and I'm facing trouble with range queries. What I want to do is find all the points within a given rectangle. I know this as "range query". (link below)</div><div><br></div><div><a href="http://www.cise.ufl.edu/class/cot5520fa09/CG_RangeKDtrees.pdf" target="_blank">http://www.cise.ufl.edu/class/cot5520fa09/CG_RangeKDtrees.pdf</a> (Kd-trees -> Querying in kd-trees)<br></div><div><br></div><div><br></div><div>Apparently, the only type of searching in range available is having a point and finding all the nearest points, with a tolerance.<br></div><div><div><br></div><div>Is it possible to do what I want with this library?</div><div><br></div><div>Thank you,</div><br><div data-smartmail="gmail_signature">Thierry P. Moreira</div>
</div></div>
_______________________________________________<br>
libkdtree-devel mailing list<br>
<a href="mailto:libkdtree-devel@lists.alioth.debian.org" target="_blank">libkdtree-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libkdtree-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libkdtree-devel</a></blockquote></div>