go-datastructures icon indicating copy to clipboard operation
go-datastructures copied to clipboard

rtree / hilbert / func New(bufferSize, ary uint64) => what is parameter ary?

Open Robert-M-Muench opened this issue 5 years ago • 0 comments

I tried New(100,2) for a tree managing 2D rectangles. But that failed... I used New(100,3) which works but I don't know why.

So, what does this parameter specify?

And if I want to manage, let's say 5D "rectangles" I just extend my rectangle definition to 5 dimensions?

Robert-M-Muench avatar Oct 12 '20 16:10 Robert-M-Muench