occ
Loading...
Searching...
No Matches
occ::geometry::MIndex Struct Reference

#include <morton.h>

Classes

struct  Position

Public Member Functions

OCC_ALWAYS_INLINE integer_type level () const
OCC_ALWAYS_INLINE floating_type size () const
OCC_ALWAYS_INLINE MIndex operator+ (const MIndex &other) const
OCC_ALWAYS_INLINE MIndex operator- (const MIndex &other) const
OCC_ALWAYS_INLINE MIndex parent () const
OCC_ALWAYS_INLINE MIndex child (uint8_t idx) const
OCC_ALWAYS_INLINE void get_children (std::array< MIndex, 8 > &arr) const
OCC_ALWAYS_INLINE Position center () const
OCC_ALWAYS_INLINE MIndex primal (integer_type lvl, integer_type idx) const
OCC_ALWAYS_INLINE std::array< MIndex, 8 > primals (integer_type lvl) const
OCC_ALWAYS_INLINE MIndex dual (integer_type lvl, integer_type idx) const
OCC_ALWAYS_INLINE void fill_duals (integer_type lvl, std::array< MIndex, 8 > &values) const
bool operator< (const MIndex &other) const
bool operator!= (const MIndex &other) const
bool operator== (const MIndex &other) const
bool operator> (const MIndex &other) const

Public Attributes

integer_type code {1}

Friends

size_t hash_value (const MIndex &m)

Member Function Documentation

◆ center()

OCC_ALWAYS_INLINE Position occ::geometry::MIndex::center ( ) const
inline

◆ child()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::child ( uint8_t idx) const
inline

◆ dual()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::dual ( integer_type lvl,
integer_type idx ) const
inline

◆ fill_duals()

OCC_ALWAYS_INLINE void occ::geometry::MIndex::fill_duals ( integer_type lvl,
std::array< MIndex, 8 > & values ) const
inline

◆ get_children()

OCC_ALWAYS_INLINE void occ::geometry::MIndex::get_children ( std::array< MIndex, 8 > & arr) const
inline

◆ level()

OCC_ALWAYS_INLINE integer_type occ::geometry::MIndex::level ( ) const
inline

◆ operator!=()

bool occ::geometry::MIndex::operator!= ( const MIndex & other) const
inline

◆ operator+()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::operator+ ( const MIndex & other) const
inline

◆ operator-()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::operator- ( const MIndex & other) const
inline

◆ operator<()

bool occ::geometry::MIndex::operator< ( const MIndex & other) const
inline

◆ operator==()

bool occ::geometry::MIndex::operator== ( const MIndex & other) const
inline

◆ operator>()

bool occ::geometry::MIndex::operator> ( const MIndex & other) const
inline

◆ parent()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::parent ( ) const
inline

◆ primal()

OCC_ALWAYS_INLINE MIndex occ::geometry::MIndex::primal ( integer_type lvl,
integer_type idx ) const
inline

◆ primals()

OCC_ALWAYS_INLINE std::array< MIndex, 8 > occ::geometry::MIndex::primals ( integer_type lvl) const
inline

◆ size()

OCC_ALWAYS_INLINE floating_type occ::geometry::MIndex::size ( ) const
inline

◆ hash_value

size_t hash_value ( const MIndex & m)
friend

Member Data Documentation

◆ code

integer_type occ::geometry::MIndex::code {1}

The documentation for this struct was generated from the following file:
  • /home/runner/work/occ/occ/include/occ/geometry/morton.h