Documentation 6b54b78464
Loading...
Searching...
No Matches
CADTComparePointClass Class Reference

Functor, used for the sorting of the points when building an ADT. More...

#include <CADTComparePointClass.hpp>

Public Member Functions

 CADTComparePointClass (const su2double *coor, const unsigned short splitDir, const unsigned short nDimADT)
 Constructor of the class. The member variables are initialized.
 
bool operator() (const unsigned long p0, const unsigned long p1) const
 Operator used for the sorting of the points.
 
 CADTComparePointClass ()=delete
 Default constructor of the class, disabled.
 

Detailed Description

Functor, used for the sorting of the points when building an ADT.

Author
E. van der Weide

Constructor & Destructor Documentation

◆ CADTComparePointClass() [1/2]

CADTComparePointClass::CADTComparePointClass ( const su2double *  coor,
const unsigned short  splitDir,
const unsigned short  nDimADT 
)
inline

Constructor of the class. The member variables are initialized.

Parameters
[in]coorPointer to the coordinates of the points.
[in]splitDirDirection that must be used to sort the coordinates.
[in]nDimADTNumber of spatial dimensions of the ADT and coordinates.

◆ CADTComparePointClass() [2/2]

CADTComparePointClass::CADTComparePointClass ( )
delete

Default constructor of the class, disabled.

Member Function Documentation

◆ operator()()

bool CADTComparePointClass::operator() ( const unsigned long  p0,
const unsigned long  p1 
) const
inline

Operator used for the sorting of the points.

Parameters
[in]p0Index of the first point to be compared.
[in]p1Index of the second point to be compared.

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