# orx-kdtree

Fast search of points closest to the queried point in a data set. 2D, 3D and 4D.

<!-- __demos__ -->
## Demos
### DemoKNearestNeighbour01
[source code](src/demo/kotlin/DemoKNearestNeighbour01.kt)

![DemoKNearestNeighbour01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-kdtree/images/DemoKNearestNeighbour01Kt.png)

### DemoNearestNeighbour01
[source code](src/demo/kotlin/DemoNearestNeighbour01.kt)

![DemoNearestNeighbour01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-kdtree/images/DemoNearestNeighbour01Kt.png)

### DemoRangeQuery01
[source code](src/demo/kotlin/DemoRangeQuery01.kt)

![DemoRangeQuery01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-kdtree/images/DemoRangeQuery01Kt.png)
