Template Struct NodeBase

Struct Documentation

template<typename BV>
struct NodeBase

dynamic AABB tree node

Public Functions

bool isLeaf() const

whether is a leaf

bool isInternal() const

whether is internal node

NodeBase()

Public Members

BV bv

the bounding volume for the node

NodeBase<BV> *parent

pointer to parent node

NodeBase<BV> *children[2]

for leaf node, children nodes

void *data
union coal::detail::NodeBase
uint32_t code

morton code for current BV