3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
AxisCompareMk2 Class Reference

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

#include <K3DTree-mk2.h>

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

Member Function Documentation

◆ operator()()

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

◆ setAxis()

void AxisCompareMk2::setAxis ( unsigned int  Axis)
inline

Referenced by K3DTreeMk2::build().

Here is the caller graph for this function:

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