A k-d tree for efficiently finding intersections between shapes. More...
Public Types | |
| using | boxes |
| Type alias for a vector of Bounding Boxes. | |
| using | overlap |
| The leaves of another tree that intersect each leaf of a given tree. | |
Public Member Functions | |
| overlap | intersect (const KDTree &) const |
| Find intersections between this tree and another. | |
| KDTree (const boxes &) | |
| Construct the tree from leaf bounding boxes. | |
A k-d tree for efficiently finding intersections between shapes.
The leaves of another tree that intersect each leaf of a given tree.
Construct the tree from leaf bounding boxes.
| sboxp | vector of safety boxes |
Find intersections between this tree and another.
A possible use case is finding the overlap between multiple distributed meshes .