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 AABBaabbEnlarged AABBprotected DynamicTreeNodechild1protected DynamicTreeNodechild2protected intheightprotected intidprotected booleanleafprotected DynamicTreeNodeparentjava.lang.ObjectuserData
-
Constructor Summary
Constructors Modifier Constructor Description protectedDynamicTreeNode(int id)Should never be constructed outside the engine
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetUserData()booleanisLeaf()voidsetUserData(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
-
-