jtsiomb / kdtree

A simple C library for working with KD-Trees
http://nuclear.mutantstargoat.com/sw/kdtree/
Other
395 stars 115 forks source link

the nearest node #23

Closed wangshuo2020 closed 4 years ago

wangshuo2020 commented 4 years ago

Thank you for your code. If I want to get the closet one node, how should I set the radius? Only one nearest node I want to get. Looking forward to your reply.

jtsiomb commented 4 years ago

This is a bug tracker. If you need to ask questions please use email.

The kd_nearest* functions return the nearest node, and they do not take a radius.