|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
The Morton grid and sort key shared by the cloud BVH builds and GPU::mortonOrder(). More...
Classes | |
| struct | MortonGrid |
| The Morton grid over a box: a point's cell is (p / 2 - lo / 2) * scale, clamped to [0, SFC::ValidSpan]. More... | |
| struct | MortonKey |
| 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... | |
The Morton grid and sort key shared by the cloud BVH builds and GPU::mortonOrder().
Internal; not part of the public API. One definition, so that the builds and the query order put a point in the same cell, on the host and on a device.