MAIA bb96820c
Multiphysics at AIA
|
#include <kdtree.h>
Public Member Functions | |
KDtree (std::vector< Point< DIM > > &pts) | |
~KDtree () | |
MFloat | disti (MInt jpt, MInt kpt) |
MInt | locate (Point< DIM > pt) |
MInt | locate (MInt jpt) |
MInt | nearest (Point< DIM > pt, MFloat &dist) |
void | nnearest (MInt jpt, MInt *nn, MFloat *dn, MInt n) |
MInt | locatenear (Point< DIM > pt, MFloat r, MInt *list, MInt nmax, MBool returnCellId=true) |
MInt | locatenearest (Point< DIM > pt, MFloat r, MInt *list, MFloat *dn, MInt nmax, MBool &overflow) |
Static Public Member Functions | |
static void | sift_down (MFloat *heap, MInt *ndx, MInt nn) |
Public Attributes | |
MLong | nboxes |
std::vector< Point< DIM > > | ptss |
Boxnode< DIM > * | boxes |
MLong | npts |
std::vector< MInt > | ptindx |
std::vector< MInt > | rptindx |
Static Public Attributes | |
static const MFloat | BIG |
Definition at line 101 of file kdtree.h.
MInt KDtree< DIM >::locatenear | ( | Point< DIM > | pt, |
MFloat | r, | ||
MInt * | list, | ||
MInt | nmax, | ||
MBool | returnCellId = true |
||
) |
Definition at line 320 of file kdtree.h.
MInt KDtree< DIM >::locatenearest | ( | Point< DIM > | pt, |
MFloat | r, | ||
MInt * | list, | ||
MFloat * | dn, | ||
MInt | nmax, | ||
MBool & | overflow | ||
) |
Definition at line 372 of file kdtree.h.
Definition at line 199 of file kdtree.h.
Definition at line 235 of file kdtree.h.
Definition at line 300 of file kdtree.h.