libatomprobe
Library for Atom Probe Tomography (APT) computation
|
Functor allowing for sorting of points in 3D. More...
#include <K3DTree-approx.h>
Public Member Functions | |
AxisCompare () | |
void | setAxis (unsigned int Axis) |
bool | operator() (const Point3D &p1, const Point3D &p2) const |
Functor allowing for sorting of points in 3D.
Used by KD Tree to sort points based around which splitting axis is being used once the axis is set, points will be ranked based upon their relative value in that axis only
Definition at line 41 of file K3DTree-approx.h.
AtomProbe::AxisCompare::AxisCompare | ( | ) |
Definition at line 40 of file K3DTree-approx.cpp.
Definition at line 48 of file K3DTree-approx.h.
void AtomProbe::AxisCompare::setAxis | ( | unsigned int | Axis | ) |
Definition at line 44 of file K3DTree-approx.cpp.
Referenced by AtomProbe::K3DTreeApprox::buildByRef().