|
EBGeometry 1.0
|
Implementation of the Morton SFC. More...
#include <EBGeometry_SFC.hpp>
Static Public Member Functions | |
| static uint64_t | encode (const Index &a_point) noexcept |
| Encode an input point into a Morton index with a 64-bit representation. | |
| static Index | decode (const uint64_t &a_code) noexcept |
| Decode the 64-bit Morton code into an Index. | |
Static Protected Attributes | |
| static constexpr uint_fast64_t | Mask_64 [6] |
| Mask for magic-bits encoding of 3D Morton code. | |
Implementation of the Morton SFC.
Encode an input point into a Morton index with a 64-bit representation.
| [in] | a_point |
|
staticconstexprprotected |
Mask for magic-bits encoding of 3D Morton code.