In both Bintree#insert and Quadtree#insertNode there's no check performed on the return from getSubnodeIndex, assuming it will not be -1.
Maybe an assertion should be added.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.