Classes | Functions | Variables
nanoflann Namespace Reference

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 >
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
 

Function Documentation

◆ assign()

template<typename Container , typename T >
std::enable_if<!has_assign<Container>::value, void>::type nanoflann::assign ( Container &  c,
const size_t  nElements,
const T &  value 
)
inline

Free function to assign to a std::array

Definition at line 133 of file nanoflann.hpp.

◆ resize()

template<typename Container >
std::enable_if<!has_resize<Container>::value, void>::type nanoflann::resize ( Container &  c,
const size_t  nElements 
)
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.



slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56