Package org.jbox2d.collision.broadphase
Class DynamicTreeNode
- java.lang.Object
-
- org.jbox2d.collision.broadphase.DynamicTreeNode
-
public class DynamicTreeNode extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description AABB
aabb
Enlarged AABBprotected DynamicTreeNode
child1
protected DynamicTreeNode
child2
protected int
height
protected int
id
protected boolean
leaf
protected DynamicTreeNode
parent
java.lang.Object
userData
-
Constructor Summary
Constructors Modifier Constructor Description protected
DynamicTreeNode(int id)
Should never be constructed outside the engine
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getUserData()
boolean
isLeaf()
void
setUserData(java.lang.Object argData)
-
-
-
Field Detail
-
aabb
public final AABB aabb
Enlarged AABB
-
userData
public java.lang.Object userData
-
parent
protected DynamicTreeNode parent
-
child1
protected DynamicTreeNode child1
-
child2
protected DynamicTreeNode child2
-
id
protected final int id
-
leaf
protected boolean leaf
-
height
protected int height
-
-