BRQuadTree and QuadTreeNode

jmurphy

Well-known member
PhotometricMosaic needs to match reference stars to target stars.
For each reference Star I need to find all the target Stars that are within a small distance from the reference Star's (x,y) location. My current solution works, but it is not very efficient.

I noticed that the JavaScript core objects include BRQuadTree and QuadTreeNode. Nice! My assumption is that I should be using them... Some help on how to use BRQuadTree and QuadTreeNode would be extremely useful!
Thanks
John Murphy
 
The comments in <pjsr/BRQuadTree.jsh> are quite good, so I have now figure out how to use it.
Regards
John Murphy
 
Back
Top