-
Is there a way to implement NearestNeighbour method in Quadtree? As there is no method currently implemented in that class, I was trying to adjust STRTree's implementation to work with Quadtree but the issue I have is at defining and / or using Root.
Issue is in line 8 as tree.Root is of type TopologyNode and not of type IBoundable<Envelope, TopologyNode>. If I created new ItemBoundable and then use it I don't have the slightest idea which item and its envelope to insert as parameters, e.g.:
It may be that I am not using the correct data structure but what I need is a data structure (tree) for:
I would greatly appreciate the help and ideas! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved in #682. |
Beta Was this translation helpful? Give feedback.
Resolved in #682.
If needed an extension method can be implemented.