![]() |
Belle II Software development
|
Node structure for a 2D KD-tree used in spatial hit sorting. More...
#include <Utils.h>
Public Attributes | |
| KDTHit | hit |
| The hit associated with this node (contains x, y, and index). | |
| KDTNode * | left |
| Pointer to the left subtree (for values less than split). | |
| KDTNode * | right |
| Pointer to the right subtree (for values greater than split). | |
| bool | used |
| Flag indicating whether the node has already been used in traversal. | |
| int | dim |
| Splitting dimension: 0 for x-axis, 1 for y-axis. | |
Node structure for a 2D KD-tree used in spatial hit sorting.
Represents a node in a binary KD-tree with left and right child pointers, and metadata for axis splitting and usage tracking.
| KDTHit hit |
| KDTNode* left |
| KDTNode* right |
| bool used |