Package org.jbox2d.collision.broadphase
Class DynamicTreeNode
java.lang.Object
org.jbox2d.collision.broadphase.DynamicTreeNode
public class DynamicTreeNode
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AABB
Enlarged AABBprotected DynamicTreeNode
protected DynamicTreeNode
protected int
protected final int
protected boolean
protected DynamicTreeNode
java.lang.Object
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DynamicTreeNode
(int id) Should never be constructed outside the engine -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.Object
final boolean
isLeaf()
void
setUserData
(java.lang.Object argData) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
aabb
Enlarged AABB -
userData
public java.lang.Object userData -
parent
-
child1
-
child2
-
id
protected final int id -
leaf
protected boolean leaf -
height
protected int height
-
-
Constructor Details
-
DynamicTreeNode
protected DynamicTreeNode(int id) Should never be constructed outside the engine
-
-
Method Details
-
isLeaf
public final boolean isLeaf() -
getUserData
public java.lang.Object getUserData() -
setUserData
public void setUserData(java.lang.Object argData)
-