hpp-fcl 2.4.5
HPP fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
hpp::fcl::detail::NodeBase< BV > Struct Template Reference

dynamic AABB tree node More...

#include <hpp/fcl/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 hpp::fcl::detail::NodeBase< BV >

dynamic AABB tree node

Constructor & Destructor Documentation

◆ NodeBase()

template<typename BV >
hpp::fcl::detail::NodeBase< BV >::NodeBase ( )

Member Function Documentation

◆ isInternal()

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

whether is internal node

◆ isLeaf()

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

whether is a leaf

Member Data Documentation

◆ [union]

union { ... } hpp::fcl::detail::NodeBase< BV >

◆ bv

template<typename BV >
BV hpp::fcl::detail::NodeBase< BV >::bv

the bounding volume for the node

◆ children

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

for leaf node, children nodes

◆ code

template<typename BV >
uint32_t hpp::fcl::detail::NodeBase< BV >::code

morton code for current BV

◆ data

template<typename BV >
void* hpp::fcl::detail::NodeBase< BV >::data

◆ parent

template<typename BV >
NodeBase<BV>* hpp::fcl::detail::NodeBase< BV >::parent

pointer to parent node


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