You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to serialize and unserialize a Quadtree? Or is the best strategy currently just to stringy, parse and recreate the Quadtree? Thanks in advance
The text was updated successfully, but these errors were encountered:
Interesting, can you explain your use case? Currently there is no custom way to do so.
JSON.stringify(tree) gives results, but I wonder how useful this is.
I would recommend only storing the object data, positions etc. and recreate and reinsert the objects each time.
Interesting, can you explain your use case? Currently there is no custom way to do so.
JSON.stringify(tree) gives results, but I wonder how useful this is. I would recommend only storing the object data, positions etc. and recreate and reinsert the objects each time.
I'm using a quadtree to spatially index a graph to find edges more efficiently. I also need to store the quadtree to MongoDB in the same doc as the graph
Is there a way to serialize and unserialize a Quadtree? Or is the best strategy currently just to stringy, parse and recreate the Quadtree? Thanks in advance
The text was updated successfully, but these errors were encountered: