This is the documentation for Enlighten.
class Geo Morton Component
template<Geo::u32>
class Geo::Morton::Component
A single masked component with index I.
Functions
Name | Description |
|---|---|
Constructor. | |
Constructor. | |
Return the underlying representation. | |
Subtract a constant. | |
Add a constant. |
Friends
Name | Description |
|---|---|
friend Component Max(Component c, MortonConstant< n >) | Maximum with constant. |
friend Component Min(Component c, MortonConstant< n >) | Minimum with constant. |
friend bool operator<(Component l, Component r) | Less. |
friend bool operator<=(Component l, Component r) | Less equal. |
friend bool operator==(Component l, Component r) | Equality. |
friend bool operator>(Component l, Component r) | Greater. |
friend bool operator>=(Component l, Component r) | Greater equal. |
Geo::Morton< D >::Component< I >::Component
public: Component
(
Morton< D > m
)
Constructor.
Geo::Morton< D >::Component< I >::Component
public: Component
(
Geo::u32 x
)
Constructor.
Geo::u64 Geo::Morton< D >::Component< I >::GetValue
public: Geo::u64 GetValue() const
Return the underlying representation.
Component Geo::Morton< D >::Component< I >::operator-
public: Component operator-
(
MortonConstant< n >
) const