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

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
 

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 41 of file K3DTree-approx.h.

Constructor & Destructor Documentation

◆ AxisCompare()

AtomProbe::AxisCompare::AxisCompare ( )

Definition at line 40 of file K3DTree-approx.cpp.

Member Function Documentation

◆ operator()()

bool AtomProbe::AxisCompare::operator() ( const Point3D p1,
const Point3D p2 
) const
inline

Definition at line 48 of file K3DTree-approx.h.

◆ setAxis()

void AtomProbe::AxisCompare::setAxis ( unsigned int  Axis)

Definition at line 44 of file K3DTree-approx.cpp.

Referenced by AtomProbe::K3DTreeApprox::buildByRef().


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