|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A point's sort key: its cell's Morton code, then its index, so that no two keys are equal and every sort (std::sort on the host, GPU::bitonicSort() on a device) gives the one order. More...
#include <EBGeometry_SFC.hpp>
Public Member Functions | |
| bool | operator< (const MortonKey &a_other) const noexcept |
Whether this key sorts before a_other: by code, then by index. | |
Public Attributes | |
| uint64_t | m_code |
| The Morton code of the point's cell. | |
| uint32_t | m_index |
| The point's index. | |
A point's sort key: its cell's Morton code, then its index, so that no two keys are equal and every sort (std::sort on the host, GPU::bitonicSort() on a device) gives the one order.
|
inlinenoexcept |
Whether this key sorts before a_other: by code, then by index.
| [in] | a_other | The other key. |