#include <k_d_tree.h>
Classes | |
| struct | SplitResult |
Public Member Functions | |
| SortedIndices () | |
| empty | |
| SortedIndices (size_t n) | |
| Identity permutation on all axes. | |
| size_t | size () const |
| bool | empty () const |
| SplitResult | split (uint8_t axis, std::vector< bool > &markers) const |
| Idx * | begin (uint8_t d) |
| Idx * | end (uint8_t d) |
| const Idx * | begin (uint8_t d) const |
| const Idx * | end (uint8_t d) const |
Static Public Member Functions | |
| static SortedIndices | newUninitialized (size_t n) |
| uninitialized indices | |
Private Member Functions | |
| SortedIndices (Points< Dim, Idx > &&indices) | |
Private Attributes | |
| Points< Dim, Idx > | indices |
|
inline |
empty
References indices.
Referenced by newUninitialized(), and split().
|
inline |
Identity permutation on all axes.
References indices.
|
inlineprivate |
References indices.
|
inline |
|
inline |
References indices.
|
inline |
|
inline |
References indices.
|
inline |
References indices.
|
inlinestatic |
uninitialized indices
References SortedIndices().
Referenced by k_d_tree::SortedPoints< Dim, Component >::SortedPoints().
|
inline |
|
inline |
Splits the sorted indices in the middle along the specified axis, partitioning them into left (<=), the pivot, and right (>=).
References SortedIndices(), k_d_tree::Points< Dim, Component >::begin(), begin(), and indices.
Referenced by k_d_tree::KdTree< Dim, Component, Id >::init().
|
private |
Referenced by SortedIndices(), SortedIndices(), SortedIndices(), begin(), begin(), end(), end(), size(), and split().