到底什么是 OutputIterator 以及如何构建一个与 CGAL Kd_tree::search 一起使用的 OutputIterator? 我使用 CGAL 的 Kd 树实现以及模糊球体作为查询对象来获取以某个点为中心的半径球体中包含的点r_max。这是这个最小的工作示例: #include <CGAL/Simple_cartesian.h> #include <CGAL/Kd_tree.h> #include <CGAL...
CGAL's Kd tree supports floating-point data and in case we decide to implement this paper, we need to find a way how to convert double to long while building the tree or adapt the algorithm for supporting doubles. The provided data file indeed leads to a stack overflow when building the...