#include <GteNearestNeighborQuery.h>
Classes | |
struct | Node |
class | SortFunctor |
Public Member Functions | |
int | FindNeighbors (Vector< N, Real > const &point, Real radius, std::array< int, MaxNeighbors > &neighbors) const |
int | GetMaxLeafSize () const |
int | GetMaxLevel () const |
NearestNeighborQuery (std::vector< Site > const &sites, int maxLeafSize, int maxLevel) | |
Private Types | |
typedef std::pair< Vector< N, Real >, int > | SortedPoint |
Private Member Functions | |
void | Build (int numSites, int siteOffset, int nodeIndex, int level) |
Private Attributes | |
int | mMaxLeafSize |
int | mMaxLevel |
std::vector< Node > | mNodes |
std::vector< SortedPoint > | mSortedPoints |
Definition at line 29 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 48 of file GteNearestNeighborQuery.h.
gte::NearestNeighborQuery< N, Real, Site, MaxNeighbors >::NearestNeighborQuery | ( | std::vector< Site > const & | sites, |
int | maxLeafSize, | ||
int | maxLevel | ||
) |
Definition at line 83 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 193 of file GteNearestNeighborQuery.h.
int gte::NearestNeighborQuery< N, Real, Site, MaxNeighbors >::FindNeighbors | ( | Vector< N, Real > const & | point, |
Real | radius, | ||
std::array< int, MaxNeighbors > & | neighbors | ||
) | const |
Definition at line 113 of file GteNearestNeighborQuery.h.
|
inline |
Definition at line 101 of file GteNearestNeighborQuery.h.
|
inline |
Definition at line 107 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 75 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 76 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 78 of file GteNearestNeighborQuery.h.
|
private |
Definition at line 77 of file GteNearestNeighborQuery.h.