Public Member Functions | Public Attributes | List of all members
coal::detail::NodeBase< BV > Struct Template Reference

dynamic AABB tree node More...

#include <node_base.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

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

dynamic AABB tree node

Definition at line 49 of file coal/broadphase/detail/node_base.h.

Constructor & Destructor Documentation

◆ NodeBase()

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

Definition at line 66 of file coal/broadphase/detail/node_base-inl.h.

Member Function Documentation

◆ isInternal()

template<typename BV >
bool coal::detail::NodeBase< BV >::isInternal

whether is internal node

Definition at line 60 of file coal/broadphase/detail/node_base-inl.h.

◆ isLeaf()

template<typename BV >
bool coal::detail::NodeBase< BV >::isLeaf

whether is a leaf

Definition at line 54 of file coal/broadphase/detail/node_base-inl.h.

Member Data Documentation

◆ @1

union { ... }

◆ bv

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

the bounding volume for the node

Definition at line 51 of file coal/broadphase/detail/node_base.h.

◆ children

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

for leaf node, children nodes

Definition at line 64 of file coal/broadphase/detail/node_base.h.

◆ code

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

morton code for current BV

Definition at line 69 of file coal/broadphase/detail/node_base.h.

◆ data

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

Definition at line 65 of file coal/broadphase/detail/node_base.h.

◆ parent

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

pointer to parent node

Definition at line 54 of file coal/broadphase/detail/node_base.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00