spatialIndex icon indicating copy to clipboard operation
spatialIndex copied to clipboard

空间索引的各种实现

Results 2 spatialIndex issues
Sort by recently updated
recently updated
newest added

感谢枕边书先生的代码,这份代码节省了我很多时间。 但有一个问题,splitNode function的最后一个for循环中,每次循环都会减去当前栅格的ele_num。 ``` for (int i = 0; i < node->ele_num; i++) { insertEle(node, *node->ele_list[i]); free(node->ele_list[i]); node->ele_num--; } ``` 这个操作使得这个栅格中的节点只有一部分可以被写入新的子栅格中,从而导致元素数据大量丢失。 经测试,我建议将其简单修改为: ``` for (int i = 0; i <...

deleteEle、combineNode未实现.