coal 3.0.2
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
coal::detail::NodeBase< BV > Struct Template Reference

dynamic AABB tree node More...

#include <coal/broadphase/detail/node_base.h>

Public Member Functions

bool isLeaf () const
 whether is a leaf
bool isInternal () const
 whether is internal node
 NodeBase ()

Public Attributes

BV bv
 the bounding volume for the node
NodeBase< BV > * parent
 pointer to parent node
union { 
   NodeBase< BV > *   children [2] 
 for leaf node, children nodes More...
   void *   data 
}; 
uint32_t code
 morton code for current BV

Detailed Description

template<typename BV>
struct coal::detail::NodeBase< BV >

dynamic AABB tree node

Constructor & Destructor Documentation

◆ NodeBase()

template<typename BV>
coal::detail::NodeBase< BV >::NodeBase()

Member Function Documentation

◆ isInternal()

template<typename BV>
bool coal::detail::NodeBase< BV >::isInternal()const

whether is internal node

◆ isLeaf()

template<typename BV>
bool coal::detail::NodeBase< BV >::isLeaf()const

whether is a leaf

Member Data Documentation

◆ [union]

union { ... } coal::detail::NodeBase< BV >

◆ bv

template<typename BV>
BV coal::detail::NodeBase< BV >::bv

the bounding volume for the node

◆ children

template<typename BV>
NodeBase<BV>* coal::detail::NodeBase< BV >::children[2]

for leaf node, children nodes

◆ code

template<typename BV>
uint32_t coal::detail::NodeBase< BV >::code

morton code for current BV

◆ data

template<typename BV>
void* coal::detail::NodeBase< BV >::data

◆ parent

template<typename BV>
NodeBase<BV>* coal::detail::NodeBase< BV >::parent

pointer to parent node


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