This is the documentation for Enlighten.
class Geo Morton
template<Geo::u32>
class Geo::Morton
D components mapped to a linear z-order space filling curve, packed into a single value.
Classes
Name | Description |
|---|---|
A single masked component with index I. |
Functions
Name | Description |
|---|---|
Return the least significant bit of all components combined into an index. | |
Constructor. | |
Constructor. | |
Return the underlying representation. | |
Shift left. | |
Shift right. |
Friends
Name | Description |
|---|---|
friend bool operator!=(Morton l, Morton r) | Not equal. |
friend bool operator<(Morton l, Morton r) | Less. |
friend bool operator==(Morton l, Morton r) | Equal. |
Geo::u32 Geo::Morton< D >::GetLeafIndex
public: Geo::u32 GetLeafIndex() const
Return the least significant bit of all components combined into an index.
Geo::Morton< D >::Morton
public: Morton()
Constructor.
Geo::Morton< D >::Morton
public: Morton
(
Geo::u64 m
)
Constructor.
Geo::Morton< D >::operator Geo::u64
public: operator Geo::u64() const
Return the underlying representation.