occ
Loading...
Searching...
No Matches
occ::descriptors::FastNeighborFinder< MaxK > Class Template Reference

Faster neighbor finding using incremental shell approach. More...

#include <fast_neighbors.h>

Public Member Functions

Eigen::Ref< const Eigen::ArrayXd > find_k_nearest (const crystal::Crystal &crystal, Eigen::Ref< const Vec3 > query_pos, int k)
 Find k nearest neighbors.
 

Detailed Description

template<int MaxK = 256>
class occ::descriptors::FastNeighborFinder< MaxK >

Faster neighbor finding using incremental shell approach.

Try to avoid as much dynamic allocations in the hot path as possible

Member Function Documentation

◆ find_k_nearest()

template<int MaxK = 256>
Eigen::Ref< const Eigen::ArrayXd > occ::descriptors::FastNeighborFinder< MaxK >::find_k_nearest ( const crystal::Crystal crystal,
Eigen::Ref< const Vec3 query_pos,
int  k 
)
inline

Find k nearest neighbors.


The documentation for this class was generated from the following file: