Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Resorting::MortonCode64 Class Reference

Public Member Functions

 MortonCode64 (int32_t x, int32_t y, int32_t z)
 
 MortonCode64 (uint32_t x, uint32_t y, uint32_t z)
 
 MortonCode64 (uint64_t)
 
void decode (int32_t &x, int32_t &y, int32_t &z) const
 
template<int DIM>
MortonCode64 InvertDimension () const
 
MortonCode64 DivideDimensionBy2 (int dim) const
 
MortonCode64 Negate () const
 
MortonCode64 operator+ (const MortonCode64 rhs) const
 
MortonCode64 operator+ (const int64_t rhs) const
 
MortonCode64operator+= (const MortonCode64 rhs)
 
MortonCode64 operator- (const MortonCode64 rhs) const
 
MortonCode64 operator>> (int shift) const
 
MortonCode64 operator<< (int shift) const
 
bool operator< (const MortonCode64 rhs) const
 
bool operator> (const MortonCode64 rhs) const
 
bool operator<= (const MortonCode64 rhs) const
 
bool operator>= (const MortonCode64 rhs) const
 
bool operator== (const MortonCode64 rhs) const
 
bool operator!= (const MortonCode64 rhs) const
 
 operator uint64_t () const
 

Static Public Attributes

static const MortonCode64 Zero
 
static const MortonCode64 UnitX
 
static const MortonCode64 UnitY
 
static const MortonCode64 UnitZ
 

Private Attributes

uint64_t data
 

The documentation for this class was generated from the following files: