class Geo Morton

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

Name

Description

Geo::Morton::Component

A single masked component with index I.

Functions

Name

Description

Name

Description

GetLeafIndex()

Return the least significant bit of all components combined into an index.

Morton()

Constructor.

Morton(Geo::u64)

Constructor.

operator Geo::u64()

Return the underlying representation.

operator<<(Geo::u32)

Shift left.

operator>>(Geo::u32)

Shift right.

Friends

Name

Description

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.