Classes | |
struct | array_or_vector_selector |
struct | array_or_vector_selector<-1, T > |
struct | has_assign |
struct | has_assign< T, decltype((void) std::declval< T >().assign(1, 0), 0)> |
struct | has_resize |
struct | has_resize< T, decltype((void) std::declval< T >().resize(1), 0)> |
struct | IndexDist_Sorter |
class | KDTreeBaseClass |
struct | KDTreeEigenMatrixAdaptor |
class | KDTreeSingleIndexAdaptor |
struct | KDTreeSingleIndexAdaptorParams |
class | KDTreeSingleIndexDynamicAdaptor |
class | KDTreeSingleIndexDynamicAdaptor_ |
class | KNNResultSet |
struct | L1_Adaptor |
struct | L2_Adaptor |
struct | L2_Simple_Adaptor |
struct | Metric |
struct | metric_L1 |
struct | metric_L2 |
struct | metric_L2_Simple |
struct | metric_SO2 |
struct | metric_SO3 |
class | PooledAllocator |
class | RadiusResultSet |
struct | SearchParams |
struct | SO2_Adaptor |
struct | SO3_Adaptor |
Functions | |
template<typename T > | |
T * | allocate (size_t count=1) |
template<typename Container , typename T > | |
std::enable_if< has_assign< Container >::value, void >::type | assign (Container &c, const size_t nElements, const T &value) |
template<typename Container , typename T > | |
std::enable_if<!has_assign< Container >::value, void >::type | assign (Container &c, const size_t nElements, const T &value) |
template<typename T > | |
void | load_value (FILE *stream, std::vector< T > &value) |
template<typename T > | |
void | load_value (FILE *stream, T &value, size_t count=1) |
template<typename T > | |
T | pi_const () |
template<typename Container > | |
std::enable_if< has_resize< Container >::value, void >::type | resize (Container &c, const size_t nElements) |
template<typename Container > | |
std::enable_if<!has_resize< Container >::value, void >::type | resize (Container &c, const size_t nElements) |
template<typename T > | |
void | save_value (FILE *stream, const std::vector< T > &value) |
template<typename T > | |
void | save_value (FILE *stream, const T &value, size_t count=1) |
Variables | |
const size_t | BLOCKSIZE = 8192 |
const size_t | WORDSIZE = 16 |
|
inline |
Free function to assign to a std::array
Definition at line 133 of file nanoflann.hpp.
|
inline |
Free function that has no effects on non resizable containers (e.g. std::array) It raises an exception if the expected size does not match
Definition at line 114 of file nanoflann.hpp.