Public Member Functions | Public Attributes | List of all members
b2TreeNode Struct Reference

A node in the dynamic tree. The client does not interact with this directly. More...

#include <b2_dynamic_tree.h>

Public Member Functions

bool IsLeaf () const
 

Public Attributes

union {
   int32   next
 
   int32   parent
 
}; 
 
b2AABB aabb
 Enlarged AABB. More...
 
int32 child1
 
int32 child2
 
int32 height
 
bool moved
 
voiduserData
 

Detailed Description

A node in the dynamic tree. The client does not interact with this directly.

Definition at line 33 of file b2_dynamic_tree.h.

Member Function Documentation

◆ IsLeaf()

bool b2TreeNode::IsLeaf ( ) const
inline

Definition at line 35 of file b2_dynamic_tree.h.

Member Data Documentation

◆ @53

union { ... }

◆ aabb

b2AABB b2TreeNode::aabb

Enlarged AABB.

Definition at line 41 of file b2_dynamic_tree.h.

◆ child1

int32 b2TreeNode::child1

Definition at line 51 of file b2_dynamic_tree.h.

◆ child2

int32 b2TreeNode::child2

Definition at line 52 of file b2_dynamic_tree.h.

◆ height

int32 b2TreeNode::height

Definition at line 55 of file b2_dynamic_tree.h.

◆ moved

bool b2TreeNode::moved

Definition at line 57 of file b2_dynamic_tree.h.

◆ next

int32 b2TreeNode::next

Definition at line 48 of file b2_dynamic_tree.h.

◆ parent

int32 b2TreeNode::parent

Definition at line 47 of file b2_dynamic_tree.h.

◆ userData

void* b2TreeNode::userData

Definition at line 43 of file b2_dynamic_tree.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22