Single thread Kd-tree builder.
More...
#include <small_kdtree.hpp>
|
|
int | max_leaf_size = 20 |
| | Maximum number of points in a leaf node.
|
| |
|
ProjectionSetting | projection_setting |
| | Projection setting.
|
| |
Single thread Kd-tree builder.
◆ build_tree()
| void gtsam_points::KdTreeBuilder::build_tree |
( |
KdTree & |
kdtree, |
|
|
const PointCloud & |
points |
|
) |
| const |
|
inline |
Build KdTree.
- Parameters
-
| kdtree | Kd-tree to build |
| points | Point cloud |
◆ create_node()
| NodeIndexType gtsam_points::KdTreeBuilder::create_node |
( |
KdTree & |
kdtree, |
|
|
size_t & |
node_count, |
|
|
const PointCloud & |
points, |
|
|
IndexConstIterator |
global_first, |
|
|
IndexConstIterator |
first, |
|
|
IndexConstIterator |
last |
|
) |
| const |
|
inline |
Create a Kd-tree node from the given point indices.
- Parameters
-
| global_first | Global first point index iterator (i.e., this->indices.begin()). |
| first | First point index iterator to be scanned. |
| last | Last point index iterator to be scanned. |
- Returns
- Index of the created node.
The documentation for this struct was generated from the following file:
- /home/runner/work/gtsam_points/gtsam_points/include/gtsam_points/ann/small_kdtree.hpp