Functor, used for the sorting of the points when building an ADT.
More...
#include <CADTComparePointClass.hpp>
|
| | 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.
|
| |
Functor, used for the sorting of the points when building an ADT.
- Author
- E. van der Weide
◆ 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] | coor | Pointer to the coordinates of the points. |
| [in] | splitDir | Direction that must be used to sort the coordinates. |
| [in] | nDimADT | Number of spatial dimensions of the ADT and coordinates. |
◆ CADTComparePointClass() [2/2]
| CADTComparePointClass::CADTComparePointClass |
( |
| ) |
|
|
delete |
Default constructor of the class, disabled.
◆ operator()()
| bool CADTComparePointClass::operator() |
( |
const unsigned long |
p0, |
|
|
const unsigned long |
p1 |
|
) |
| const |
|
inline |
Operator used for the sorting of the points.
- Parameters
-
| [in] | p0 | Index of the first point to be compared. |
| [in] | p1 | Index of the second point to be compared. |
The documentation for this class was generated from the following file: