libatomprobe
Library for Atom Probe Tomography (APT) computation
Public Member Functions | List of all members
AxisCompareExact Class Reference

Functor allowing for sorting of points in 3D. More...

Public Member Functions

void setAxis (unsigned int Axis)
 
bool operator() (const std::pair< Point3D, size_t > &p1, const std::pair< Point3D, size_t > &p2) const
 

Detailed Description

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 45 of file K3DTree-exact.cpp.

Member Function Documentation

◆ operator()()

bool AxisCompareExact::operator() ( const std::pair< Point3D, size_t > &  p1,
const std::pair< Point3D, size_t > &  p2 
) const
inline

Definition at line 51 of file K3DTree-exact.cpp.

◆ setAxis()

void AxisCompareExact::setAxis ( unsigned int  Axis)
inline

Definition at line 50 of file K3DTree-exact.cpp.

Referenced by AtomProbe::K3DTreeExact::build().


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