Namespaces | Classes | Functions | Variables
nanoflann Namespace Reference

Namespaces

 KDTreeSingleIndexAdaptor
 

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

abs (T x)
 
double abs< double > (double x)
 
float abs< float > (float x)
 
int abs< int > (int x)
 
long double abs< long double > (long double x)
 
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)
 
void load_value (FILE *stream, std::vector< T > &value)
 
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)
 
void save_value (FILE *stream, const std::vector< T > &value)
 
void save_value (FILE *stream, const T &value, size_t count=1)
 

Variables

const size_t BLOCKSIZE
 
const size_t BLOCKSIZE = 8192
 
const size_t WORDSIZE
 
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.



mesh_map
Author(s): Sebastian Pütz
autogenerated on Thu Jan 25 2024 03:42:46