a data structure used to search the neighbour you can add elements like map structure:
@{code val index[Int] = NNIndex(Map.empty) index += Point3D -> 0 val elems = (0 to 100) map {x => Point3D(math.random,math.random,math.random) -> x} index ++= elems }you can find neighbours using in this way:
@{code val radiusSearch = 10 val neighbour = index.neighbours(Point3D(0,0,0),radiusSearch) }
a data structure used to search the neighbour you can add elements like map structure:
you can find neighbours using in this way:the value ok key