coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
|
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 | ||
dynamic AABB tree node
coal::detail::NodeBase< BV >::NodeBase | ( | ) |
bool coal::detail::NodeBase< BV >::isInternal | ( | ) | const |
whether is internal node
bool coal::detail::NodeBase< BV >::isLeaf | ( | ) | const |
whether is a leaf
union { ... } coal::detail::NodeBase< BV > |
BV coal::detail::NodeBase< BV >::bv |
the bounding volume for the node
NodeBase<BV>* coal::detail::NodeBase< BV >::children[2] |
for leaf node, children nodes
uint32_t coal::detail::NodeBase< BV >::code |
morton code for current BV
void* coal::detail::NodeBase< BV >::data |
NodeBase<BV>* coal::detail::NodeBase< BV >::parent |
pointer to parent node