Open DanyaAlfageh opened 3 years ago
Hey DanyaAlfageh, glad to see you using this! One of my biggest regrets was using int instead of double for the dimensions!
I will have to look at it more closely later, but it looks like the query area you are giving is just a line? I think you'll need to make it a rectangular shape that completely overlaps the object you are querying for. I don't think that just a line will pick up anything even though it may overlap with an item in the tree.
I am using this quadtree to read spatial data of Latitude and Longitude and they are not being inserted in the tree even though I changed values from int to double for x,y, w and h This is my data
and this is my test query data
When I run PerformanceReport I get 'Queried 0 items in 0 milliseconds for the following loop'
This is the output: