Template Struct KDTreeAuxStorage

Struct Documentation

template<typename AuxType>
struct KDTreeAuxStorage

Types for a KDTreeData’s auxiliary data.

View is a std::span<AuxType> over the caller’s storage, and Owned a std::vector<AuxType> (see OwnedKDTreeData); both are an empty placeholder if AuxType is void

Template Parameters:

AuxType – Type of one point’s auxiliary data, or void for none

Public Types

using View = std::span<AuxType>

One element per point, not owned

using Owned = std::vector<AuxType>

One element per point, owned